expo-dev-launcher 0.11.2 → 0.11.3

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
+ ## 0.11.3 — 2022-04-26
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix the error screen sometimes not showing on iOS. ([#17216](https://github.com/expo/expo/pull/17216) by [@lukmccall](https://github.com/lukmccall))
18
+
13
19
  ## 0.11.2 — 2022-04-25
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -40,7 +40,7 @@ android {
40
40
  minSdkVersion safeExtGet('minSdkVersion', 21)
41
41
  targetSdkVersion safeExtGet("targetSdkVersion", 31)
42
42
  versionCode 9
43
- versionName "0.11.2"
43
+ versionName "0.11.3"
44
44
  }
45
45
 
46
46
  lintOptions {
@@ -7,7 +7,8 @@ public class EXDevLauncherErrorManager: NSObject {
7
7
  internal weak var controller: EXDevLauncherController?
8
8
  private weak var currentVC: EXDevLauncherErrorViewController?
9
9
  private var error: EXDevLauncherAppError?
10
-
10
+ private static let VIEW_TAG = 6634
11
+
11
12
  @objc
12
13
  public init(controller: EXDevLauncherController) {
13
14
  self.controller = controller
@@ -34,7 +35,11 @@ public class EXDevLauncherErrorManager: NSObject {
34
35
  controller?.currentWindow()?.makeKeyAndVisible()
35
36
 
36
37
  // remove splash screen
37
- currentVC?.view.subviews.last?.removeFromSuperview()
38
+ currentVC?.view.subviews.forEach {
39
+ if ($0.tag != EXDevLauncherErrorManager.VIEW_TAG) {
40
+ $0.removeFromSuperview()
41
+ }
42
+ }
38
43
  }
39
44
 
40
45
  private func getNextErrorViewController() -> EXDevLauncherErrorViewController? {
@@ -1,9 +1,9 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19455" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
3
3
  <device id="retina5_9" orientation="portrait" appearance="light"/>
4
4
  <dependencies>
5
5
  <deployment identifier="iOS"/>
6
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19454"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
7
7
  <capability name="Safe area layout guides" minToolsVersion="9.0"/>
8
8
  <capability name="System colors in document resources" minToolsVersion="11.0"/>
9
9
  <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -17,7 +17,7 @@
17
17
  <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
18
18
  <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19
19
  <subviews>
20
- <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="18" translatesAutoresizingMaskIntoConstraints="NO" id="GM9-4h-o48" userLabel="Main View">
20
+ <stackView opaque="NO" tag="6634" contentMode="scaleToFill" axis="vertical" spacing="18" translatesAutoresizingMaskIntoConstraints="NO" id="GM9-4h-o48" userLabel="Main View">
21
21
  <rect key="frame" x="20" y="64" width="335" height="594"/>
22
22
  <subviews>
23
23
  <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="1Bh-aT-q2c" userLabel="Header Stack View">
@@ -104,7 +104,7 @@
104
104
  </stackView>
105
105
  </subviews>
106
106
  </stackView>
107
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zFL-lG-zl9" userLabel="Footer View">
107
+ <view tag="6634" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zFL-lG-zl9" userLabel="Footer View">
108
108
  <rect key="frame" x="0.0" y="658" width="375" height="120"/>
109
109
  <subviews>
110
110
  <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="C4a-fX-PLy">
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.11.2",
4
+ "version": "0.11.3",
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.10.3",
33
+ "expo-dev-menu": "0.10.4",
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": "c1bfd5fd18bd1fbbc55cb2d7f0953e63bfa50928"
66
+ "gitHead": "6b95cf7436c22833df1381ae38246b1f33e47a5a"
67
67
  }