expo-updates 0.10.11 → 0.10.12

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.10.12 — 2021-11-04
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Workaround for bridge being initialized twice on startup. ([#15019](https://github.com/expo/expo/pull/15019) by [@kudo](https://github.com/kudo))
18
+
13
19
  ## 0.10.11 — 2021-11-02
14
20
 
15
21
  ### 🐛 Bug fixes
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '0.10.11'
6
+ version = '0.10.12'
7
7
 
8
8
  apply from: "../scripts/create-manifest-android.gradle"
9
9
 
@@ -59,7 +59,7 @@ android {
59
59
  minSdkVersion safeExtGet("minSdkVersion", 21)
60
60
  targetSdkVersion safeExtGet("targetSdkVersion", 30)
61
61
  versionCode 31
62
- versionName '0.10.11'
62
+ versionName '0.10.12'
63
63
  consumerProguardFiles("proguard-rules.pro")
64
64
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
65
65
  // uncomment below to export the database schema when making changes
@@ -53,9 +53,14 @@ EX_REGISTER_SINGLETON_MODULE(EXUpdatesAppDelegate)
53
53
  // we just skip in this case.
54
54
  return NO;
55
55
  }
56
+ UIWindow *window = application.delegate.window;
57
+ if ([window.rootViewController.view isKindOfClass:[RCTRootView class]]) {
58
+ RCTRootView *rootView = (RCTRootView *)window.rootViewController.view;
59
+ [rootView.bridge invalidate];
60
+ }
56
61
  self.launchOptions = launchOptions;
57
62
  controller.delegate = self;
58
- [controller startAndShowLaunchScreen:application.delegate.window];
63
+ [controller startAndShowLaunchScreen:window];
59
64
  return YES;
60
65
  }
61
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
4
4
  "description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -50,5 +50,5 @@
50
50
  "fs-extra": "^9.1.0",
51
51
  "memfs": "^3.2.0"
52
52
  },
53
- "gitHead": "0803ed01bfe56c3911db024457bcbcec79899706"
53
+ "gitHead": "41c62d399d0eb8588b8d55919697fdb6760c3eac"
54
54
  }