expo-updates 29.0.11 → 29.0.13
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,18 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 29.0.13 — 2025-11-21
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [Android] Fix issue where launch is called twice on the same database instance. ([#41152](https://github.com/expo/expo/pull/41152) by [@alanjhughes](https://github.com/alanjhughes))
|
|
18
|
+
|
|
19
|
+
## 29.0.12 — 2025-10-01
|
|
20
|
+
|
|
21
|
+
### 🎉 New features
|
|
22
|
+
|
|
23
|
+
- Remove `ExpoAppDelegate` inheritance requirement ([#39844](https://github.com/expo/expo/pull/39844) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
24
|
+
|
|
13
25
|
## 29.0.11 — 2025-09-18
|
|
14
26
|
|
|
15
27
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -42,7 +42,7 @@ expoModule {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
group = 'host.exp.exponent'
|
|
45
|
-
version = '29.0.
|
|
45
|
+
version = '29.0.13'
|
|
46
46
|
|
|
47
47
|
// Utility method to derive boolean values from the environment or from Java properties,
|
|
48
48
|
// and return them as strings to be used in BuildConfig fields
|
|
@@ -88,7 +88,7 @@ android {
|
|
|
88
88
|
namespace "expo.modules.updates"
|
|
89
89
|
defaultConfig {
|
|
90
90
|
versionCode 31
|
|
91
|
-
versionName '29.0.
|
|
91
|
+
versionName '29.0.13'
|
|
92
92
|
consumerProguardFiles("proguard-rules.pro")
|
|
93
93
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
94
94
|
|
|
@@ -296,14 +296,13 @@ class LoaderTask(
|
|
|
296
296
|
) {
|
|
297
297
|
try {
|
|
298
298
|
val embeddedLoader = EmbeddedLoader(context, configuration, logger, database, directory)
|
|
299
|
-
|
|
299
|
+
embeddedLoader.load { _ ->
|
|
300
300
|
Loader.OnUpdateResponseLoadedResult(shouldDownloadManifestIfPresentInResponse = true)
|
|
301
301
|
}
|
|
302
|
-
launcher.launch(database)
|
|
303
302
|
} catch (e: Exception) {
|
|
304
303
|
logger.error("Unexpected error copying embedded update", e, UpdatesErrorCode.Unknown)
|
|
305
|
-
launcher.launch(database)
|
|
306
304
|
}
|
|
305
|
+
launcher.launch(database)
|
|
307
306
|
} else {
|
|
308
307
|
launcher.launch(database)
|
|
309
308
|
}
|
|
@@ -76,12 +76,31 @@ public final class ExpoUpdatesReactDelegateHandler: ExpoReactDelegateHandler, Ap
|
|
|
76
76
|
fatalError("`reactDelegate` should not be nil")
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
func recreateRootView(
|
|
80
|
+
withBundleURL: URL?,
|
|
81
|
+
moduleName: String?,
|
|
82
|
+
initialProps: [AnyHashable: Any]?,
|
|
83
|
+
launchOptions: [AnyHashable: Any]?
|
|
84
|
+
) -> UIView {
|
|
85
|
+
if let appDelegate = (UIApplication.shared.delegate as? (any ReactNativeFactoryProvider)) ??
|
|
86
|
+
((UIApplication.shared.delegate as? NSObject)?.value(forKey: "_expoAppDelegate") as? (any ReactNativeFactoryProvider)) {
|
|
87
|
+
return appDelegate.recreateRootView(
|
|
88
|
+
withBundleURL: withBundleURL,
|
|
89
|
+
moduleName: moduleName,
|
|
90
|
+
initialProps: initialProps,
|
|
91
|
+
launchOptions: launchOptions
|
|
92
|
+
)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return reactDelegate.reactNativeFactory.recreateRootView(
|
|
96
|
+
withBundleURL: withBundleURL,
|
|
97
|
+
moduleName: moduleName,
|
|
98
|
+
initialProps: initialProps,
|
|
99
|
+
launchOptions: launchOptions
|
|
100
|
+
)
|
|
82
101
|
}
|
|
83
102
|
|
|
84
|
-
let rootView =
|
|
103
|
+
let rootView = recreateRootView(
|
|
85
104
|
withBundleURL: AppController.sharedInstance.launchAssetUrl(),
|
|
86
105
|
moduleName: self.rootViewModuleName,
|
|
87
106
|
initialProps: self.rootViewInitialProperties,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-updates",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.13",
|
|
4
4
|
"description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"chalk": "^4.1.2",
|
|
46
46
|
"debug": "^4.3.4",
|
|
47
47
|
"expo-eas-client": "~1.0.7",
|
|
48
|
-
"expo-manifests": "~1.0.
|
|
48
|
+
"expo-manifests": "~1.0.9",
|
|
49
49
|
"expo-structured-headers": "~5.0.0",
|
|
50
50
|
"expo-updates-interface": "~2.0.0",
|
|
51
51
|
"getenv": "^2.0.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"react": "*",
|
|
74
74
|
"react-native": "*"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "7c8feba9d251fd369968dcdeb3eb388929166387"
|
|
77
77
|
}
|