+22
-1
patches/expo-updates+29.0.12.patch
+22
-1
patches/expo-updates+29.0.12.patch
···
1
+
diff --git a/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt b/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt
2
+
index e9a8e3d..3c684e0 100644
3
+
--- a/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt
4
+
+++ b/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt
5
+
@@ -296,14 +296,13 @@ class LoaderTask(
6
+
) {
7
+
try {
8
+
val embeddedLoader = EmbeddedLoader(context, configuration, logger, database, directory)
9
+
- val result = embeddedLoader.load { updateResponse ->
10
+
+ embeddedLoader.load { _ ->
11
+
Loader.OnUpdateResponseLoadedResult(shouldDownloadManifestIfPresentInResponse = true)
12
+
}
13
+
- launcher.launch(database)
14
+
} catch (e: Exception) {
15
+
logger.error("Unexpected error copying embedded update", e, UpdatesErrorCode.Unknown)
16
+
- launcher.launch(database)
17
+
}
18
+
+ launcher.launch(database)
19
+
} else {
20
+
launcher.launch(database)
21
+
}
1
22
diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
2
-
index b85291e..546709d 100644
23
+
index 68086bd..78c7761 100644
3
24
--- a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
4
25
+++ b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
5
26
@@ -78,13 +78,20 @@ public final class ExpoUpdatesUpdate: Update {