hybrid-navigation 2.16.0 → 2.16.2-beta.0

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:13.6.1'
36
+ api 'io.github.listenzz:AndroidNavigation:13.6.2'
37
37
  }
@@ -286,6 +286,7 @@ public class HybridFragment extends AwesomeFragment {
286
286
  } else {
287
287
  Bundle args = FragmentHelper.getArguments(this);
288
288
  args.putBundle(ARG_PROPS, props);
289
+ setArguments(args);
289
290
  }
290
291
  }
291
292
 
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import Navigation from './Navigation';
1
+ declare const Navigation: import("./Navigation").Navigation;
2
2
  export default Navigation;
3
3
  export { RESULT_OK, RESULT_CANCEL } from './Navigation';
4
4
  export { statusBarHeight, toolbarHeight, topBarHeight } from './GardenModule';
package/lib/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { withNavigation } from './NavigationComponentWrap';
2
- import Navigation from './Navigation';
3
- Navigation.setNavigationComponentWrap(withNavigation);
2
+ import navigation from './Navigation';
3
+ navigation.setNavigationComponentWrap(withNavigation);
4
+ const Navigation = navigation;
4
5
  export default Navigation;
5
6
  export { RESULT_OK, RESULT_CANCEL } from './Navigation';
6
7
  export { statusBarHeight, toolbarHeight, topBarHeight } from './GardenModule';
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.16.0",
4
+ "version": "2.16.2-beta.0",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "./lib/index.d.ts",
7
7
  "react-native": "src/index",
package/src/index.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { withNavigation } from './NavigationComponentWrap'
2
- import Navigation from './Navigation'
3
-
4
- Navigation.setNavigationComponentWrap(withNavigation)
5
-
2
+ import navigation from './Navigation'
3
+ navigation.setNavigationComponentWrap(withNavigation)
4
+ const Navigation = navigation
6
5
  export default Navigation
7
6
  export { RESULT_OK, RESULT_CANCEL } from './Navigation'
8
7
  export { statusBarHeight, toolbarHeight, topBarHeight } from './GardenModule'