expo-modules-core 1.5.9 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -6,7 +6,7 @@ apply plugin: 'maven-publish'
|
|
|
6
6
|
apply plugin: "de.undercouch.download"
|
|
7
7
|
|
|
8
8
|
group = 'host.exp.exponent'
|
|
9
|
-
version = '1.5.
|
|
9
|
+
version = '1.5.10'
|
|
10
10
|
|
|
11
11
|
buildscript {
|
|
12
12
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -160,7 +160,7 @@ android {
|
|
|
160
160
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
161
161
|
consumerProguardFiles 'proguard-rules.pro'
|
|
162
162
|
versionCode 1
|
|
163
|
-
versionName "1.5.
|
|
163
|
+
versionName "1.5.10"
|
|
164
164
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
|
|
165
165
|
|
|
166
166
|
testInstrumentationRunner "expo.modules.TestRunner"
|
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
#import <React/RCTRootView.h>
|
|
6
6
|
|
|
7
|
-
#if __has_include(<React/RCTAppSetupUtils.h>)
|
|
7
|
+
#if __has_include(<React-RCTAppDelegate/RCTAppSetupUtils.h>)
|
|
8
|
+
#import <React-RCTAppDelegate/RCTAppSetupUtils.h>
|
|
9
|
+
#elif __has_include(<React_RCTAppDelegate/RCTAppSetupUtils.h>)
|
|
10
|
+
// for importing the header from framework, the dash will be transformed to underscore
|
|
11
|
+
#import <React_RCTAppDelegate/RCTAppSetupUtils.h>
|
|
12
|
+
#else
|
|
13
|
+
// react-native < 0.72
|
|
8
14
|
#import <React/RCTAppSetupUtils.h>
|
|
9
15
|
#endif
|
|
10
16
|
|
|
11
17
|
UIView *EXAppSetupDefaultRootView(RCTBridge *bridge, NSString *moduleName, NSDictionary *initialProperties, BOOL fabricEnabled)
|
|
12
18
|
{
|
|
13
|
-
#if __has_include(<React/RCTAppSetupUtils.h>)
|
|
14
|
-
|
|
15
19
|
#if REACT_NATIVE_MINOR_VERSION >= 71
|
|
16
20
|
return RCTAppSetupDefaultRootView(bridge, moduleName, initialProperties, fabricEnabled);
|
|
17
21
|
#else
|
|
18
22
|
return RCTAppSetupDefaultRootView(bridge, moduleName, initialProperties);
|
|
19
23
|
#endif // REACT_NATIVE_MINOR_VERSION >= 71
|
|
20
|
-
|
|
21
|
-
#else
|
|
22
|
-
return [[RCTRootView alloc] initWithBridge:bridge moduleName:moduleName initialProperties:initialProperties];
|
|
23
|
-
#endif // __has_include(<React/RCTAppSetupUtils.h>)
|
|
24
24
|
}
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.10",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@testing-library/react-hooks": "^7.0.1",
|
|
43
43
|
"expo-module-scripts": "^3.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ca6e2711477ff273a7a91a81947f933dba2935b0"
|
|
46
46
|
}
|