expo-modules-core 1.12.21 → 1.12.22

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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 1.12.22 — 2024-08-20
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 1.12.21 — 2024-08-14
14
18
 
15
19
  ### 🐛 Bug fixes
16
20
 
17
21
  - [iOS] Fix getExternalPathPermissions returns no read/write permissions. ([#30540](https://github.com/expo/expo/pull/30540) by [@dispelpowerone](https://github.com/dispelpowerone))
22
+ - [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))
18
23
 
19
24
  ### ⚠️ Notices
20
25
 
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '1.12.21'
4
+ version = '1.12.22'
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.21"
66
+ versionName "1.12.22"
67
67
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
68
68
 
69
69
  testInstrumentationRunner "expo.modules.TestRunner"
@@ -174,8 +174,8 @@ class AppContext(
174
174
  val runtimeExecutorField = catalystInstance.javaClass.getDeclaredField("runtimeExecutor")
175
175
  runtimeExecutorField.get(catalystInstance) as RuntimeExecutor
176
176
  } catch (e: NoSuchFieldException) {
177
- val runtimeExecutorField = reactContext.javaClass.getDeclaredField("runtimeExecutor")
178
- runtimeExecutorField.get(reactContext) as RuntimeExecutor
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.21",
3
+ "version": "1.12.22",
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": "07bfec459aad07ff4c792d0fd5fdca853a55dbd0"
47
+ "gitHead": "80d038d11d216793d00fa5b4607a2c6169cee814"
48
48
  }