hybrid-navigation 2.13.17 → 2.13.18

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.
@@ -33,5 +33,5 @@ dependencies {
33
33
  implementation fileTree(dir: 'libs', include: ['*.jar'])
34
34
  implementation 'com.facebook.react:react-native:+'
35
35
  // api project(':navigation')
36
- api 'io.github.listenzz:AndroidNavigation:12.5.8'
36
+ api 'io.github.listenzz:AndroidNavigation:12.5.13'
37
37
  }
@@ -43,6 +43,10 @@ public class ReactAppCompatActivity extends AwesomeActivity implements DefaultHa
43
43
  ReactBridgeManager bridgeManager = getReactBridgeManager();
44
44
  bridgeManager.addReactModuleRegisterListener(this);
45
45
 
46
+ if (savedInstanceState != null) {
47
+ FLog.i(TAG, "ReactAppCompatActivity#re-create");
48
+ }
49
+
46
50
  if (isReactModuleRegisterCompleted()) {
47
51
  onReactModuleRegisterCompleted();
48
52
  }
@@ -72,7 +76,6 @@ public class ReactAppCompatActivity extends AwesomeActivity implements DefaultHa
72
76
  activityDelegate.onResume();
73
77
  }
74
78
  inflateStyle();
75
- // 部分手机,如三星,Activity 销毁后重建,不会重建 Fragment。
76
79
  Fragment fragment = getSupportFragmentManager().findFragmentById(android.R.id.content);
77
80
  if (fragment == null) {
78
81
  createMainComponent();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hybrid-navigation",
3
3
  "description": "React Native Navigation that supports seamless navigation between Native and React.",
4
- "version": "2.13.17",
4
+ "version": "2.13.18",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
7
7
  "react-native": "src/index",