expo-dev-launcher 4.0.22 → 4.0.23
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,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 4.0.23 — 2024-07-29
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fixed the "Connect to Metro to develop JavaScript" banner lingering on iOS. ([#30663](https://github.com/expo/expo/pull/30663) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
13
19
|
## 4.0.22 — 2024-07-03
|
|
14
20
|
|
|
15
21
|
### 📚 3rd party library updates
|
package/android/build.gradle
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
#import <EXDevLauncher/EXDevLauncherController.h>
|
|
3
3
|
#import <EXDevLauncher/EXDevLauncherRCTBridge.h>
|
|
4
4
|
|
|
5
|
+
#import <EXDevMenu/DevClientNoOpLoadingView.h>
|
|
6
|
+
|
|
5
7
|
#import <React/RCTBundleURLProvider.h>
|
|
6
8
|
#if __has_include(<React_RCTAppDelegate/RCTAppSetupUtils.h>)
|
|
7
9
|
// for importing the header from framework, the dash will be transformed to underscore
|
|
@@ -13,6 +15,7 @@
|
|
|
13
15
|
@interface RCTAppDelegate ()
|
|
14
16
|
|
|
15
17
|
- (RCTRootViewFactory *)createRCTRootViewFactory;
|
|
18
|
+
- (Class)getModuleClassFromName:(const char *)name;
|
|
16
19
|
|
|
17
20
|
@end
|
|
18
21
|
|
|
@@ -35,4 +38,13 @@
|
|
|
35
38
|
return self.bundleURLGetter();
|
|
36
39
|
}
|
|
37
40
|
|
|
41
|
+
- (Class)getModuleClassFromName:(const char *)name
|
|
42
|
+
{
|
|
43
|
+
// Overrides DevLoadingView as no-op when loading dev-launcher bundle
|
|
44
|
+
if (strcmp(name, "DevLoadingView") == 0) {
|
|
45
|
+
return [DevClientNoOpLoadingView class];
|
|
46
|
+
}
|
|
47
|
+
return [super getModuleClassFromName:name];
|
|
48
|
+
}
|
|
49
|
+
|
|
38
50
|
@end
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
#import <EXDevLauncher/EXDevLauncherController.h>
|
|
13
13
|
#import <EXDevLauncher/EXDevLauncherRCTBridge.h>
|
|
14
14
|
#import <EXDevLauncher/EXDevLauncherManifestParser.h>
|
|
15
|
-
#import <EXDevLauncher/EXDevLauncherLoadingView.h>
|
|
16
15
|
#import <EXDevLauncher/EXDevLauncherRCTDevSettings.h>
|
|
17
16
|
#import <EXDevLauncher/EXDevLauncherUpdatesHelper.h>
|
|
18
17
|
#import <EXDevLauncher/RCTPackagerConnection+EXDevLauncherPackagerConnectionInterceptor.h>
|
|
19
18
|
|
|
20
19
|
#import <EXDevLauncher/EXDevLauncherAppDelegate.h>
|
|
21
20
|
|
|
21
|
+
#import <EXDevMenu/DevClientNoOpLoadingView.h>
|
|
22
|
+
|
|
22
23
|
#if __has_include(<EXDevLauncher/EXDevLauncher-Swift.h>)
|
|
23
24
|
// For cocoapods framework, the generated swift header will be inside EXDevLauncher module
|
|
24
25
|
#import <EXDevLauncher/EXDevLauncher-Swift.h>
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
#ifndef EX_DEV_LAUNCHER_URL
|
|
108
109
|
[modules addObject:[EXDevLauncherRCTDevSettings new]];
|
|
109
110
|
#endif
|
|
110
|
-
[modules addObject:[
|
|
111
|
+
[modules addObject:[DevClientNoOpLoadingView new]];
|
|
111
112
|
|
|
112
113
|
return modules;
|
|
113
114
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-launcher",
|
|
3
3
|
"title": "Expo Development Launcher",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.23",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"homepage": "https://docs.expo.dev",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"ajv": "8.11.0",
|
|
34
|
-
"expo-dev-menu": "5.0.
|
|
34
|
+
"expo-dev-menu": "5.0.17",
|
|
35
35
|
"expo-manifests": "~0.14.0",
|
|
36
36
|
"resolve-from": "^5.0.0",
|
|
37
37
|
"semver": "^7.6.0"
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"./setupTests.ts"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "89cb316cd1f16193ae9841d2aec2ae39e0ee00bb"
|
|
70
70
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
-
|
|
3
|
-
#if __has_include(<React/RCTDevLoadingViewProtocol.h>)
|
|
4
|
-
|
|
5
|
-
#import <Foundation/Foundation.h>
|
|
6
|
-
|
|
7
|
-
#import <React/RCTDefines.h>
|
|
8
|
-
#import <React/RCTBridgeModule.h>
|
|
9
|
-
#import <React/RCTDevLoadingViewProtocol.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
@interface EXDevLauncherLoadingView : NSObject <RCTDevLoadingViewProtocol, RCTBridgeModule>
|
|
14
|
-
|
|
15
|
-
@end
|
|
16
|
-
|
|
17
|
-
NS_ASSUME_NONNULL_END
|
|
18
|
-
|
|
19
|
-
#endif
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
-
|
|
3
|
-
#import <EXDevLauncher/EXDevLauncherLoadingView.h>
|
|
4
|
-
|
|
5
|
-
#if __has_include(<React/RCTDevLoadingViewProtocol.h>)
|
|
6
|
-
|
|
7
|
-
#import <UIKit/UIKit.h>
|
|
8
|
-
|
|
9
|
-
@implementation EXDevLauncherLoadingView
|
|
10
|
-
|
|
11
|
-
+ (NSString *)moduleName
|
|
12
|
-
{
|
|
13
|
-
return @"DevLoadingView";
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
+ (void)setEnabled:(BOOL)enabled {}
|
|
17
|
-
- (void)showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(UIColor *)backgroundColor {}
|
|
18
|
-
- (void)showWithURL:(NSURL *)URL {}
|
|
19
|
-
- (void)updateProgress:(RCTLoadingProgress *)progress {}
|
|
20
|
-
- (void)hide {}
|
|
21
|
-
|
|
22
|
-
@end
|
|
23
|
-
|
|
24
|
-
#endif
|