expo-dev-launcher 1.2.0 → 1.2.1

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.2.1 — 2022-08-16
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix deferred deep link handling on iOS. ([#18614](https://github.com/expo/expo/pull/18614)) by [@ajsmth](https://github.com/ajsmth)
18
+
13
19
  ## 1.2.0 — 2022-08-11
14
20
 
15
21
  ### 🎉 New features
@@ -40,7 +40,7 @@ android {
40
40
  minSdkVersion safeExtGet('minSdkVersion', 21)
41
41
  targetSdkVersion safeExtGet("targetSdkVersion", 31)
42
42
  versionCode 9
43
- versionName "1.2.0"
43
+ versionName "1.2.1"
44
44
  }
45
45
 
46
46
  lintOptions {
@@ -73,7 +73,19 @@ public class ExpoDevLauncherReactDelegateHandler: ExpoReactDelegateHandler, RCTB
73
73
  // MARK: EXDevelopmentClientControllerDelegate implementations
74
74
 
75
75
  public func devLauncherController(_ developmentClientController: EXDevLauncherController, didStartWithSuccess success: Bool) {
76
- let bridge = RCTBridge(delegate: self.bridgeDelegate, launchOptions: self.launchOptions)
76
+ var launchOptions: [AnyHashable: Any] = [:]
77
+
78
+ if let initialLaunchOptions = self.launchOptions {
79
+ for (key, value) in initialLaunchOptions {
80
+ launchOptions[key] = value
81
+ }
82
+ }
83
+
84
+ for (key, value) in developmentClientController.getLaunchOptions() {
85
+ launchOptions[key] = value
86
+ }
87
+
88
+ let bridge = RCTBridge(delegate: self.bridgeDelegate, launchOptions: launchOptions)
77
89
  developmentClientController.appBridge = bridge
78
90
 
79
91
  let rootView = RCTRootView(bridge: bridge!, moduleName: self.rootViewModuleName!, initialProperties: self.rootViewInitialProperties)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-dev-launcher",
3
3
  "title": "Expo Development Launcher",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
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": "~5.0.0",
33
- "expo-dev-menu": "1.2.0",
33
+ "expo-dev-menu": "1.2.1",
34
34
  "resolve-from": "^5.0.0",
35
35
  "semver": "^7.3.5"
36
36
  },
@@ -64,5 +64,5 @@
64
64
  "./setupTests.ts"
65
65
  ]
66
66
  },
67
- "gitHead": "60746772948a4baf93ed772c17f21423a9a58c0f"
67
+ "gitHead": "a1544a099a6becc1a97c44380d46b1326dac8a33"
68
68
  }