expo-modules-core 57.0.23 → 57.0.25
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 +13 -0
- package/android/build.gradle +2 -2
- package/android/src/compose/expo/modules/kotlin/views/ExpoComposeView.kt +11 -0
- package/android/src/main/java/expo/modules/adapters/react/apploader/RNHeadlessAppLoader.kt +1 -0
- package/package.json +3 -3
- package/prebuilds/output/debug/xcframeworks/ExpoModulesCore.tar.gz +0 -0
- package/prebuilds/output/debug/xcframeworks/ExpoModulesWorklets.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoModulesCore.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoModulesWorklets.tar.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,19 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 57.0.25 — 2026-11-05
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Keep `RNHeadlessAppLoader` in R8-minified release builds, so `expo-task-manager` no longer crashes when a task starts while the app is not running. Backport of [#46920](https://github.com/expo/expo/pull/46920). ([#52109](https://github.com/expo/expo/pull/52109) by [@krisoft20](https://github.com/krisoft20))
|
|
18
|
+
|
|
19
|
+
## 57.0.24 — 2026-10-21
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug fixes
|
|
22
|
+
|
|
23
|
+
- [iOS] Fix a launch crash (`Symbol not found: _swift_allocateMetadataPack`) in apps that use precompiled Expo modules and build with Xcode 27. `ExpoModulesJSI` no longer exports Swift runtime symbols, so the precompiled `ExpoModulesCore` no longer depends on them. ([#51463](https://github.com/expo/expo/pull/51463) by [@chrfalch](https://github.com/chrfalch))
|
|
24
|
+
- [Android] Fix a Jetpack Compose `Host` that stays blank when it mounts in a visible list row with `removeClippedSubviews` enabled, for example in a `FlatList`. The `Host` now measures its content when it is attached for the first time. ([#51780](https://github.com/expo/expo/pull/51780) by [@expo-bot](https://github.com/expo-bot))
|
|
25
|
+
|
|
13
26
|
## 57.0.23 — 2026-10-14
|
|
14
27
|
|
|
15
28
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -27,7 +27,7 @@ if (shouldIncludeCompose) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
group = 'host.exp.exponent'
|
|
30
|
-
version = '57.0.
|
|
30
|
+
version = '57.0.25'
|
|
31
31
|
|
|
32
32
|
def isExpoModulesCoreTests = {
|
|
33
33
|
Gradle gradle = getGradle()
|
|
@@ -94,7 +94,7 @@ android {
|
|
|
94
94
|
defaultConfig {
|
|
95
95
|
consumerProguardFiles 'proguard-rules.pro'
|
|
96
96
|
versionCode 1
|
|
97
|
-
versionName "57.0.
|
|
97
|
+
versionName "57.0.25"
|
|
98
98
|
buildConfigField "String", "EXPO_MODULES_CORE_VERSION", "\"${versionName}\""
|
|
99
99
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", "true"
|
|
100
100
|
|
|
@@ -78,9 +78,16 @@ abstract class ExpoComposeView<T : ComposeProps>(
|
|
|
78
78
|
|
|
79
79
|
override val shouldUseAndroidLayout = withHostingView
|
|
80
80
|
|
|
81
|
+
// A measure pass skipped while detached is cached by Android, so the same specs will not measure
|
|
82
|
+
// the Compose content again. Set when that happens, so the first attach can request a new pass.
|
|
83
|
+
// React Native can attach this view from inside its own `layout()`, which clears the forced-layout
|
|
84
|
+
// flag when it returns, so the request is posted.
|
|
85
|
+
private var needsLayoutOnAttach = false
|
|
86
|
+
|
|
81
87
|
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
|
|
82
88
|
// In case of issues there's an alternative solution in previous commits at https://github.com/expo/expo/pull/33759
|
|
83
89
|
if (shouldUseAndroidLayout && !isAttachedToWindow) {
|
|
90
|
+
needsLayoutOnAttach = true
|
|
84
91
|
setMeasuredDimension(widthMeasureSpec, heightMeasureSpec)
|
|
85
92
|
return
|
|
86
93
|
}
|
|
@@ -108,6 +115,10 @@ abstract class ExpoComposeView<T : ComposeProps>(
|
|
|
108
115
|
|
|
109
116
|
override fun onAttachedToWindow() {
|
|
110
117
|
super.onAttachedToWindow()
|
|
118
|
+
if (needsLayoutOnAttach) {
|
|
119
|
+
needsLayoutOnAttach = false
|
|
120
|
+
post { requestLayout() }
|
|
121
|
+
}
|
|
111
122
|
if (!withHostingView) {
|
|
112
123
|
validateHostingAncestor()
|
|
113
124
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "57.0.
|
|
3
|
+
"version": "57.0.25",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@expo/expo-modules-macros-plugin": "0.6.1",
|
|
50
|
-
"expo-modules-jsi": "~57.1.
|
|
50
|
+
"expo-modules-jsi": "~57.1.3",
|
|
51
51
|
"invariant": "^2.2.4"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@types/invariant": "^2.2.33",
|
|
67
67
|
"expo-module-scripts": "56.0.3"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "d525588681ae2ac2863deff25d35daa39ede8ac1",
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "expo-module build",
|
|
72
72
|
"clean": "expo-module clean",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|