expo-dev-launcher 6.0.13 → 6.0.15
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
|
+
## 6.0.15 — 2025-10-10
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [iOS] Fixes updates not being viewable on first launch. ([#40324](https://github.com/expo/expo/pull/40324) by [@alanjhughes](https://github.com/alanjhughes))
|
|
18
|
+
|
|
19
|
+
## 6.0.14 — 2025-10-09
|
|
20
|
+
|
|
21
|
+
### 💡 Others
|
|
22
|
+
|
|
23
|
+
- [Android] Prevented the app from crashing during the initialization of the `ErrorViewModel`. ([#40148](https://github.com/expo/expo/pull/40148) by [@lukmccall](https://github.com/lukmccall))
|
|
24
|
+
|
|
13
25
|
## 6.0.13 — 2025-10-01
|
|
14
26
|
|
|
15
27
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -20,13 +20,13 @@ expoModule {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
group = "host.exp.exponent"
|
|
23
|
-
version = "6.0.
|
|
23
|
+
version = "6.0.15"
|
|
24
24
|
|
|
25
25
|
android {
|
|
26
26
|
namespace "expo.modules.devlauncher"
|
|
27
27
|
defaultConfig {
|
|
28
28
|
versionCode 9
|
|
29
|
-
versionName "6.0.
|
|
29
|
+
versionName "6.0.15"
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
buildTypes {
|
|
@@ -14,8 +14,6 @@ sealed interface ErrorAction {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
class ErrorViewModel() : ViewModel() {
|
|
17
|
-
private val devLauncher = inject<DevLauncherController>()
|
|
18
|
-
|
|
19
17
|
private val _appError = mutableStateOf<DevLauncherAppError?>(null)
|
|
20
18
|
|
|
21
19
|
val appError
|
|
@@ -26,6 +24,8 @@ class ErrorViewModel() : ViewModel() {
|
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
fun onAction(action: ErrorAction) {
|
|
27
|
+
val devLauncher = inject<DevLauncherController>()
|
|
28
|
+
|
|
29
29
|
when (action) {
|
|
30
30
|
is ErrorAction.Reload -> {
|
|
31
31
|
val appUrl = devLauncher.latestLoadedApp
|
|
@@ -777,17 +777,30 @@
|
|
|
777
777
|
|
|
778
778
|
// the project url field is added to app.json.updates when running `eas update:configure`
|
|
779
779
|
// the `u.expo.dev` determines that it is the modern manifest protocol
|
|
780
|
+
NSURL *updateURL = _updatesInterface ? _updatesInterface.updateURL : nil;
|
|
780
781
|
NSString *projectUrl = @"";
|
|
781
782
|
if (_updatesInterface) {
|
|
782
|
-
projectUrl = [[self.manifest updatesInfo] valueForKey:@"url"];
|
|
783
|
+
projectUrl = [[self.manifest updatesInfo] valueForKey:@"url"] ?: @"";
|
|
784
|
+
if (projectUrl.length == 0 && updateURL) {
|
|
785
|
+
projectUrl = updateURL.absoluteString ?: @"";
|
|
786
|
+
}
|
|
783
787
|
}
|
|
784
788
|
|
|
785
|
-
NSURL *url = [NSURL URLWithString:projectUrl];
|
|
789
|
+
NSURL *url = projectUrl.length > 0 ? [NSURL URLWithString:projectUrl] : updateURL;
|
|
786
790
|
|
|
787
791
|
BOOL isModernManifestProtocol = [[url host] isEqualToString:@"u.expo.dev"] || [[url host] isEqualToString:@"staging-u.expo.dev"];
|
|
788
792
|
BOOL expoUpdatesInstalled = EXDevLauncherController.sharedInstance.updatesInterface != nil;
|
|
789
793
|
|
|
790
794
|
NSString *appId = [constants valueForKeyPath:@"manifest.extra.eas.projectId"] ?: [self.manifest easProjectId];
|
|
795
|
+
if (appId.length == 0 && updateURL) {
|
|
796
|
+
NSString *possibleAppId = updateURL.lastPathComponent ?: @"";
|
|
797
|
+
if (possibleAppId.length == 0 && updateURL.pathComponents.count > 0) {
|
|
798
|
+
possibleAppId = updateURL.pathComponents.lastObject ?: @"";
|
|
799
|
+
}
|
|
800
|
+
if (possibleAppId.length > 0 && ![possibleAppId isEqualToString:@"/"]) {
|
|
801
|
+
appId = possibleAppId;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
791
804
|
BOOL hasAppId = appId.length > 0;
|
|
792
805
|
|
|
793
806
|
BOOL usesEASUpdates = isModernManifestProtocol && expoUpdatesInstalled && hasAppId;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-launcher",
|
|
3
3
|
"title": "Expo Development Launcher",
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.15",
|
|
5
5
|
"description": "Pre-release version of the Expo development launcher package for testing.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"homepage": "https://docs.expo.dev",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"expo-dev-menu": "7.0.
|
|
18
|
+
"expo-dev-menu": "7.0.14",
|
|
19
19
|
"expo-manifests": "~1.0.8"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"expo": "*"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "31db53f92824d88be7fc14caabd60463d6253c53"
|
|
25
25
|
}
|