expo 46.0.7 → 46.0.8
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/android/build.gradle
CHANGED
|
@@ -33,7 +33,7 @@ def getRNVersion() {
|
|
|
33
33
|
ensureDependeciesWereEvaluated(project)
|
|
34
34
|
|
|
35
35
|
group = 'host.exp.exponent'
|
|
36
|
-
version = '46.0.
|
|
36
|
+
version = '46.0.8'
|
|
37
37
|
|
|
38
38
|
buildscript {
|
|
39
39
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -104,7 +104,7 @@ android {
|
|
|
104
104
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
105
105
|
targetSdkVersion safeExtGet("targetSdkVersion", 31)
|
|
106
106
|
versionCode 1
|
|
107
|
-
versionName "46.0.
|
|
107
|
+
versionName "46.0.8"
|
|
108
108
|
consumerProguardFiles("proguard-rules.pro")
|
|
109
109
|
}
|
|
110
110
|
lintOptions {
|
|
@@ -35,6 +35,8 @@ open class ReactNativeHostWrapperBase(
|
|
|
35
35
|
handler.onDidCreateReactInstanceManager(result, developerSupport)
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
injectHostReactInstanceManager(result)
|
|
39
|
+
|
|
38
40
|
return result
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -93,8 +95,7 @@ open class ReactNativeHostWrapperBase(
|
|
|
93
95
|
reactNativeHostHandlers.forEach { handler ->
|
|
94
96
|
handler.onRegisterJSIModules(reactApplicationContext, jsContext, useDeveloperSupport)
|
|
95
97
|
}
|
|
96
|
-
userJSIModulePackage?.getJSIModules(reactApplicationContext, jsContext)
|
|
97
|
-
return emptyList()
|
|
98
|
+
return userJSIModulePackage?.getJSIModules(reactApplicationContext, jsContext)?.toList() ?: emptyList()
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
|
|
@@ -109,5 +110,15 @@ open class ReactNativeHostWrapperBase(
|
|
|
109
110
|
return method!!.invoke(host) as T
|
|
110
111
|
}
|
|
111
112
|
|
|
113
|
+
/**
|
|
114
|
+
* Inject the @{ReactInstanceManager} from the wrapper to the wrapped host.
|
|
115
|
+
* In case the wrapped host to call `getReactInstanceManager` inside its methods.
|
|
116
|
+
*/
|
|
117
|
+
fun injectHostReactInstanceManager(reactInstanceManager: ReactInstanceManager) {
|
|
118
|
+
val mReactInstanceManagerField = ReactNativeHost::class.java.getDeclaredField("mReactInstanceManager")
|
|
119
|
+
mReactInstanceManagerField.isAccessible = true
|
|
120
|
+
mReactInstanceManagerField.set(host, reactInstanceManager)
|
|
121
|
+
}
|
|
122
|
+
|
|
112
123
|
//endregion
|
|
113
124
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"expo-constants": "~13.2.3",
|
|
33
33
|
"expo-contacts": "~10.3.0",
|
|
34
34
|
"expo-crypto": "~11.0.0",
|
|
35
|
-
"expo-dev-client": "~1.2.
|
|
35
|
+
"expo-dev-client": "~1.2.1",
|
|
36
36
|
"expo-device": "~4.3.0",
|
|
37
37
|
"expo-document-picker": "~10.3.0",
|
|
38
38
|
"expo-error-recovery": "~3.2.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"expo-mail-composer": "~11.3.0",
|
|
61
61
|
"expo-media-library": "~14.2.0",
|
|
62
62
|
"expo-module-template": "~10.7.2",
|
|
63
|
-
"expo-modules-core": "~0.11.
|
|
63
|
+
"expo-modules-core": "~0.11.4",
|
|
64
64
|
"expo-navigation-bar": "~1.3.0",
|
|
65
65
|
"expo-network": "~4.3.0",
|
|
66
66
|
"expo-notifications": "~0.16.1",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"sentry-expo": "~5.0.0",
|
|
105
105
|
"unimodules-app-loader": "~3.1.0",
|
|
106
106
|
"unimodules-image-loader-interface": "~6.1.0",
|
|
107
|
-
"@shopify/react-native-skia": "0.1.
|
|
107
|
+
"@shopify/react-native-skia": "0.1.141",
|
|
108
108
|
"@shopify/flash-list": "1.1.0",
|
|
109
109
|
"@sentry/react-native": "^4.1.3"
|
|
110
110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo",
|
|
3
|
-
"version": "46.0.
|
|
3
|
+
"version": "46.0.8",
|
|
4
4
|
"description": "The Expo SDK",
|
|
5
5
|
"main": "build/Expo.js",
|
|
6
6
|
"module": "build/Expo.js",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"homepage": "https://github.com/expo/expo/tree/main/packages/expo",
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@babel/runtime": "^7.14.0",
|
|
58
|
-
"@expo/cli": "0.2.
|
|
58
|
+
"@expo/cli": "0.2.10",
|
|
59
59
|
"@expo/vector-icons": "^13.0.0",
|
|
60
60
|
"babel-preset-expo": "~9.2.0",
|
|
61
61
|
"cross-spawn": "^6.0.5",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"expo-font": "~10.2.0",
|
|
67
67
|
"expo-keep-awake": "~10.2.0",
|
|
68
68
|
"expo-modules-autolinking": "0.10.2",
|
|
69
|
-
"expo-modules-core": "0.11.
|
|
69
|
+
"expo-modules-core": "0.11.4",
|
|
70
70
|
"fbemitter": "^3.0.0",
|
|
71
71
|
"getenv": "^1.0.0",
|
|
72
72
|
"invariant": "^2.2.4",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"react-dom": "18.0.0",
|
|
91
91
|
"react-native": "0.69.4"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "3c7309583130b8cc6e2a54e69bda41ca9c709826"
|
|
94
94
|
}
|