expo-modules-core 1.12.21 → 1.12.23
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,11 +10,21 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 1.12.23 — 2024-08-23
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
17
|
+
## 1.12.22 — 2024-08-20
|
|
18
|
+
|
|
19
|
+
_This version does not introduce any user-facing changes._
|
|
20
|
+
|
|
13
21
|
## 1.12.21 — 2024-08-14
|
|
14
22
|
|
|
15
23
|
### 🐛 Bug fixes
|
|
16
24
|
|
|
17
25
|
- [iOS] Fix getExternalPathPermissions returns no read/write permissions. ([#30540](https://github.com/expo/expo/pull/30540) by [@dispelpowerone](https://github.com/dispelpowerone))
|
|
26
|
+
- [android] Fix accessing the `runtimeExecutor` from kotlin when the new arch is enabled. ([#31058](https://github.com/expo/expo/pull/31058) by [@alanjhughes](https://github.com/alanjhughes))
|
|
27
|
+
- [android] Fix accessing the `runtimeExecutor` from kotlin when the new arch is enabled on 0.75.2. ([#31122](https://github.com/expo/expo/pull/31122) by [@alanjhughes](https://github.com/alanjhughes))
|
|
18
28
|
|
|
19
29
|
### ⚠️ Notices
|
|
20
30
|
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '1.12.
|
|
4
|
+
version = '1.12.23'
|
|
5
5
|
|
|
6
6
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
7
|
apply from: expoModulesCorePlugin
|
|
@@ -63,7 +63,7 @@ android {
|
|
|
63
63
|
defaultConfig {
|
|
64
64
|
consumerProguardFiles 'proguard-rules.pro'
|
|
65
65
|
versionCode 1
|
|
66
|
-
versionName "1.12.
|
|
66
|
+
versionName "1.12.23"
|
|
67
67
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
|
|
68
68
|
|
|
69
69
|
testInstrumentationRunner "expo.modules.TestRunner"
|
|
@@ -169,13 +169,13 @@ class AppContext(
|
|
|
169
169
|
if (reactContext.isBridgeless) {
|
|
170
170
|
val runtimeExecutor: RuntimeExecutor = try {
|
|
171
171
|
// When react-native version >= 0.75.0 get runtimeExecutor from catalystInstance
|
|
172
|
-
val
|
|
173
|
-
val catalystInstance =
|
|
174
|
-
val
|
|
175
|
-
|
|
172
|
+
val catalystInstanceGetter = reactContext.javaClass.getMethod("getCatalystInstance")
|
|
173
|
+
val catalystInstance = catalystInstanceGetter.invoke(reactContext)
|
|
174
|
+
val runtimeExecutorGetter = catalystInstance.javaClass.getMethod("getRuntimeExecutor")
|
|
175
|
+
runtimeExecutorGetter.invoke(catalystInstance) as RuntimeExecutor
|
|
176
176
|
} catch (e: NoSuchFieldException) {
|
|
177
|
-
val
|
|
178
|
-
|
|
177
|
+
val method = reactContext.javaClass.getMethod("getRuntimeExecutor")
|
|
178
|
+
method.invoke(reactContext) as RuntimeExecutor
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
jsiInterop.installJSIForBridgeless(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.23",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@testing-library/react-hooks": "^7.0.1",
|
|
45
45
|
"expo-module-scripts": "^3.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a1b4a5fbbc9e1a5bb310cac977ed84da13040ad5"
|
|
48
48
|
}
|