expo-modules-core 55.0.20 → 55.0.21

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,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 55.0.21 — 2026-04-07
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 55.0.20 — 2026-04-02
14
18
 
15
19
  _This version does not introduce any user-facing changes._
@@ -18,6 +22,8 @@ _This version does not introduce any user-facing changes._
18
22
 
19
23
  ### 🐛 Bug fixes
20
24
 
25
+ - [iOS] Fixed looking up the `EXConstants.bundle` from the main bundle to allow running with precompiled XCFrameworks. ([#44551](https://github.com/expo/expo/pull/44551) by [@chrfalch](https://github.com/chrfalch))
26
+ - [iOS] Fixed Constants.expoConfig returning null due to optional value wrapping in ConstantsProvider. ([#44550](https://github.com/expo/expo/pull/44550) by [@chrfalch](https://github.com/chrfalch))
21
27
  - [iOS] Fixed view lookup in bridgeless mode by using `ExpoHostWrapper` instead of `reactBridge.uiManager`. ([#44375](https://github.com/expo/expo/pull/44375) by [@vonovak](https://github.com/vonovak))
22
28
 
23
29
  ## 55.0.18 — 2026-03-27
@@ -29,7 +29,7 @@ if (shouldIncludeCompose) {
29
29
  }
30
30
 
31
31
  group = 'host.exp.exponent'
32
- version = '55.0.20'
32
+ version = '55.0.21'
33
33
 
34
34
  def isExpoModulesCoreTests = {
35
35
  Gradle gradle = getGradle()
@@ -96,7 +96,7 @@ android {
96
96
  defaultConfig {
97
97
  consumerProguardFiles 'proguard-rules.pro'
98
98
  versionCode 1
99
- versionName "55.0.20"
99
+ versionName "55.0.21"
100
100
  buildConfigField "String", "EXPO_MODULES_CORE_VERSION", "\"${versionName}\""
101
101
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", "true"
102
102
 
@@ -18,7 +18,7 @@ internal final class ConstantsProvider: EXConstantsInterface {
18
18
  let isDebugXcodeScheme = false
19
19
  #endif
20
20
 
21
- return [
21
+ var result: [AnyHashable: Any] = [
22
22
  "sessionId": UUID().uuidString,
23
23
  "executionEnvironment": "bare",
24
24
  "statusBarHeight": statusBarHeight,
@@ -26,13 +26,18 @@ internal final class ConstantsProvider: EXConstantsInterface {
26
26
  "systemFonts": systemFonts,
27
27
  "debugMode": isDebugXcodeScheme,
28
28
  "isHeadless": false,
29
- "manifest": getManifest(), // Deprecated, but still used internally.
30
29
  "platform": [
31
30
  "ios": [
32
- "buildNumber": getBuildVersion()
31
+ "buildNumber": getBuildVersion() ?? ""
33
32
  ]
34
33
  ]
35
34
  ]
35
+ // Deprecated, but still used internally. We need to check if the manifest is set, otherwise it will result in
36
+ // an error where the whole manifest is null since we cannot wrap an Optional null in JS correctly.
37
+ if let manifest = getManifest() {
38
+ result["manifest"] = manifest
39
+ }
40
+ return result
36
41
  }
37
42
  }
38
43
 
@@ -83,9 +88,7 @@ private func getDeviceName() -> String {
83
88
  }
84
89
 
85
90
  private func getManifest() -> [String: Any]? {
86
- let frameworkBundle = Bundle(for: ConstantsProvider.self)
87
-
88
- guard let bundleUrl = frameworkBundle.resourceURL?.appendingPathComponent("EXConstants.bundle"),
91
+ guard let bundleUrl = Bundle.main.resourceURL?.appendingPathComponent("EXConstants.bundle"),
89
92
  let bundle = Bundle(url: bundleUrl),
90
93
  let url = bundle.url(forResource: "app", withExtension: "config") else {
91
94
  log.error("Unable to find the embedded app config")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-core",
3
- "version": "55.0.20",
3
+ "version": "55.0.21",
4
4
  "description": "The core of Expo Modules architecture",
5
5
  "main": "src/index.ts",
6
6
  "types": "build/index.d.ts",
@@ -66,5 +66,5 @@
66
66
  "@testing-library/react-native": "^13.3.0",
67
67
  "expo-module-scripts": "^55.0.2"
68
68
  },
69
- "gitHead": "20029879d2f953a428d70197fc7e25e4d791848a"
69
+ "gitHead": "f35977db4ffc6bbc2b295d65a8d74e9fd4f24ecb"
70
70
  }