expo-dev-launcher 5.0.25 → 5.0.26
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
|
+
## 5.0.26 — 2025-01-27
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
13
17
|
## 5.0.25 — 2025-01-20
|
|
14
18
|
|
|
15
19
|
### 💡 Others
|
|
@@ -27,6 +31,7 @@
|
|
|
27
31
|
### 🐛 Bug fixes
|
|
28
32
|
|
|
29
33
|
- [iOS] Fixed black stuck screen when loading an unreachable server from last opened url. ([#34067](https://github.com/expo/expo/pull/34067) by [@kudo](https://github.com/kudo))
|
|
34
|
+
- [iOS] Read EAS project id and url from manifest instead of updates interface. ([#34342](https://github.com/expo/expo/pull/34342) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
30
35
|
|
|
31
36
|
## 5.0.22 — 2025-01-08
|
|
32
37
|
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ public class DevLauncherInternal: Module, EXDevLauncherPendingDeepLinkListener {
|
|
|
20
20
|
"clientUrlScheme": findClientUrlScheme,
|
|
21
21
|
"installationID": EXDevLauncherController.sharedInstance().installationIDHelper().getOrCreateInstallationID(),
|
|
22
22
|
"isDevice": isDevice,
|
|
23
|
-
"updatesConfig": EXDevLauncherController.sharedInstance().getUpdatesConfig()
|
|
23
|
+
"updatesConfig": EXDevLauncherController.sharedInstance().getUpdatesConfig(appContext?.constants?.constants())
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -775,7 +775,7 @@
|
|
|
775
775
|
manager.currentManifestURL = nil;
|
|
776
776
|
}
|
|
777
777
|
|
|
778
|
-
-(NSDictionary *)getUpdatesConfig
|
|
778
|
+
-(NSDictionary *)getUpdatesConfig: (nullable NSDictionary *) constants
|
|
779
779
|
{
|
|
780
780
|
NSMutableDictionary *updatesConfig = [NSMutableDictionary new];
|
|
781
781
|
|
|
@@ -784,19 +784,19 @@
|
|
|
784
784
|
runtimeVersion = _updatesInterface.runtimeVersion ?: @"";
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
// url
|
|
788
|
-
// this url field is added to app.json.updates when running `eas update:configure`
|
|
787
|
+
// the project url field is added to app.json.updates when running `eas update:configure`
|
|
789
788
|
// the `u.expo.dev` determines that it is the modern manifest protocol
|
|
790
789
|
NSString *projectUrl = @"";
|
|
791
790
|
if (_updatesInterface) {
|
|
792
|
-
projectUrl = [
|
|
791
|
+
projectUrl = [constants valueForKeyPath:@"manifest.updates.url"];
|
|
793
792
|
}
|
|
794
793
|
|
|
795
794
|
NSURL *url = [NSURL URLWithString:projectUrl];
|
|
796
|
-
NSString *appId = [[url pathComponents] lastObject];
|
|
797
795
|
|
|
798
796
|
BOOL isModernManifestProtocol = [[url host] isEqualToString:@"u.expo.dev"] || [[url host] isEqualToString:@"staging-u.expo.dev"];
|
|
799
797
|
BOOL expoUpdatesInstalled = EXDevLauncherController.sharedInstance.updatesInterface != nil;
|
|
798
|
+
|
|
799
|
+
NSString *appId = [constants valueForKeyPath:@"manifest.extra.eas.projectId"] ?: @"";
|
|
800
800
|
BOOL hasAppId = appId.length > 0;
|
|
801
801
|
|
|
802
802
|
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": "5.0.
|
|
4
|
+
"version": "5.0.26",
|
|
5
5
|
"description": "Pre-release version of the Expo development launcher package for testing.",
|
|
6
6
|
"main": "build/DevLauncher.js",
|
|
7
7
|
"types": "build/DevLauncher.d.ts",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
],
|
|
67
67
|
"testTimeout": 15000
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "3fd37fd31fd818d833e85c4723b1578010da6967"
|
|
70
70
|
}
|