expo-dev-launcher 0.11.7 → 1.0.0
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
|
+
## 1.0.0 — 2022-06-09
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fixed the singleton `RCTBridge.currentBridge` instance value be override by expo-dev-launcher bridge instance on iOS. ([#17780](https://github.com/expo/expo/pull/17780) by [@kudo](https://github.com/kudo))
|
|
18
|
+
|
|
13
19
|
## 0.11.7 — 2022-06-07
|
|
14
20
|
|
|
15
21
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
2
|
|
|
3
3
|
#import "EXDevLauncherRCTBridge.h"
|
|
4
|
+
#import "EXDevLauncherController.h"
|
|
4
5
|
#import "RCTCxxBridge+Private.h"
|
|
5
6
|
|
|
6
7
|
#import <React/RCTPerformanceLogger.h>
|
|
@@ -11,6 +12,16 @@
|
|
|
11
12
|
|
|
12
13
|
@implementation EXDevLauncherRCTCxxBridge
|
|
13
14
|
|
|
15
|
+
- (instancetype)initWithParentBridge:(RCTBridge *)bridge
|
|
16
|
+
{
|
|
17
|
+
if ((self = [super initWithParentBridge:bridge])) {
|
|
18
|
+
RCTBridge *appBridge = [EXDevLauncherController sharedInstance].appBridge;
|
|
19
|
+
// reset the singleton `RCTBridge.currentBridge` to app bridge instance
|
|
20
|
+
RCTBridge.currentBridge = appBridge != nil ? appBridge.batchedBridge : nil;
|
|
21
|
+
}
|
|
22
|
+
return self;
|
|
23
|
+
}
|
|
24
|
+
|
|
14
25
|
/**
|
|
15
26
|
* Theoretically, we could overwrite the `RCTDevSettings` module by exporting our version through the bridge.
|
|
16
27
|
* However, this won't work with the js remote debugging. For some reason, the RN needs to initialized remote tools very early. So it always uses the default module to do it.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-launcher",
|
|
3
3
|
"title": "Expo Development Launcher",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0",
|
|
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",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"homepage": "https://docs.expo.dev",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@expo/config-plugins": "^4.0.14",
|
|
33
|
-
"expo-dev-menu": "0.
|
|
33
|
+
"expo-dev-menu": "1.0.0",
|
|
34
34
|
"resolve-from": "^5.0.0",
|
|
35
35
|
"semver": "^7.3.5"
|
|
36
36
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"./setupTests.ts"
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "e89f0049463f278549295ff29c2e5b8a2a089cd5"
|
|
67
67
|
}
|