react-native-navigation 7.26.0-snapshot.618 → 7.27.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.
@@ -104,7 +104,7 @@ class AppDelegateLinker {
104
104
  return content.replace(
105
105
  /RCTBridge.*];/,
106
106
  'RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];\n' +
107
- '[ReactNativeNavigation bootstrapWithBridge:bridge];'
107
+ '[ReactNativeNavigation bootstrapWithBridge:bridge];'
108
108
  );
109
109
  }
110
110
 
@@ -146,6 +146,7 @@ class AppDelegateLinker {
146
146
 
147
147
  const toRemove = [
148
148
  /RCTRootView\s+\*rootView((.|\r|\s)*?)];\s+/,
149
+ /UIView \*rootView = RCTAppSetupDefaultRootView\(bridge, @".*", nil\);/,
149
150
  /if \(@available\(iOS 13\.0, \*\)\)\s{\s+ rootView.backgroundColor((.|\r)*)];\s+}\s+else {[^}]*}/,
150
151
  /self.window((.|\r)*)];\s+/,
151
152
  /UIViewController\s\*rootViewController((.|\r)*)];\s+/,
@@ -169,7 +170,7 @@ class AppDelegateLinker {
169
170
  ' No elements could be removed. Check the manual installation docs to verify that everything is properly setup:\n https://wix.github.io/react-native-navigation/docs/installing#native-installation'
170
171
  );
171
172
  } else {
172
- throw new Error(
173
+ warnn(
173
174
  'Some elements were removed. Check the manual installation docs to verify that everything is properly setup:\n https://wix.github.io/react-native-navigation/docs/installing#native-installation'
174
175
  );
175
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.26.0-snapshot.618",
3
+ "version": "7.27.1",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,