expo-modules-core 1.5.8 → 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
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 1.5.10 — 2023-08-22
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fixed Fabric setup error on iOS. ([#24004](https://github.com/expo/expo/pull/24004) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
19
|
+
## 1.5.9 — 2023-07-29
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- [Android] Fixed splash screen is missing when using the `getDelayLoadAppHandler()` from expo-updates. ([#23747](https://github.com/expo/expo/pull/23747) by [@kudo](https://github.com/kudo))
|
|
24
|
+
|
|
13
25
|
## 1.5.8 — 2023-07-23
|
|
14
26
|
|
|
15
27
|
### 🐛 Bug fixes
|
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"
|
package/android/src/main/java/expo/modules/core/interfaces/ReactActivityLifecycleListener.java
CHANGED
|
@@ -34,4 +34,9 @@ public interface ReactActivityLifecycleListener {
|
|
|
34
34
|
default boolean onBackPressed() {
|
|
35
35
|
return false;
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* This method is called when the {@link Activity#setContentView} method is invoked on an Activity.
|
|
40
|
+
*/
|
|
41
|
+
default void onContentChanged(Activity activity) {}
|
|
37
42
|
}
|
|
@@ -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
|
}
|