expo-dev-launcher 4.0.15 → 4.0.16
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 +6 -0
- package/android/build.gradle +1 -1
- package/ios/EXDevLauncherController.m +15 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 4.0.16 — 2024-05-29
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [iOS] Prevent React Native Dev Menu from showing up on launcher screen. ([#28936](https://github.com/expo/expo/pull/28936) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
18
|
+
|
|
13
19
|
## 4.0.15 — 2024-05-15
|
|
14
20
|
|
|
15
21
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -330,30 +330,33 @@
|
|
|
330
330
|
[self _removeInitModuleObserver];
|
|
331
331
|
|
|
332
332
|
_appDelegate.rootViewFactory = [_appDelegate createRCTRootViewFactory];
|
|
333
|
-
UIView *rootView = [[_appDelegate rootViewFactory] viewWithModuleName:@"main"
|
|
334
|
-
initialProperties:nil
|
|
335
|
-
launchOptions:_launchOptions];
|
|
336
333
|
|
|
334
|
+
#if RCT_DEV
|
|
335
|
+
NSURL *url = [self devLauncherURL];
|
|
336
|
+
if (url != nil) {
|
|
337
|
+
// Connect to the websocket
|
|
338
|
+
[[RCTPackagerConnection sharedPackagerConnection] setSocketConnectionURL:url];
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
[self _addInitModuleObserver];
|
|
342
|
+
#endif
|
|
343
|
+
|
|
344
|
+
UIView *rootView;
|
|
337
345
|
[[NSNotificationCenter defaultCenter] addObserver:self
|
|
338
346
|
selector:@selector(onAppContentDidAppear)
|
|
339
347
|
name:RCTContentDidAppearNotification
|
|
340
348
|
object:rootView];
|
|
341
349
|
|
|
350
|
+
rootView = [[_appDelegate rootViewFactory] viewWithModuleName:@"main"
|
|
351
|
+
initialProperties:nil
|
|
352
|
+
launchOptions:_launchOptions];
|
|
353
|
+
|
|
342
354
|
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
|
343
355
|
|
|
344
356
|
UIViewController *rootViewController = [UIViewController new];
|
|
345
357
|
rootViewController.view = rootView;
|
|
346
358
|
_window.rootViewController = rootViewController;
|
|
347
359
|
|
|
348
|
-
#if RCT_DEV
|
|
349
|
-
NSURL *url = [self devLauncherURL];
|
|
350
|
-
if (url != nil) {
|
|
351
|
-
// Connect to the websocket
|
|
352
|
-
[[RCTPackagerConnection sharedPackagerConnection] setSocketConnectionURL:url];
|
|
353
|
-
} else {
|
|
354
|
-
[self _addInitModuleObserver];
|
|
355
|
-
}
|
|
356
|
-
#endif
|
|
357
360
|
|
|
358
361
|
[_window makeKeyAndVisible];
|
|
359
362
|
}
|
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.16",
|
|
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
|
"./setupTests.ts"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "979e9f1fc3cfa9c827700dcf99992e671cfdf63e"
|
|
70
70
|
}
|