hybrid-navigation 2.13.11 → 2.13.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.
@@ -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.9'
37
37
  }
@@ -134,7 +134,7 @@ public class NavigationModule extends ReactContextBaseJavaModule {
134
134
  return;
135
135
  }
136
136
 
137
- if (!target.isAdded()) {
137
+ if (!target.isAdded() || target.isRemoving()) {
138
138
  callback.invoke(null, false);
139
139
  return;
140
140
  }
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.11",
4
+ "version": "2.13.12",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
7
7
  "react-native": "src/index",