Open yutianhaijiao opened 4 years ago
the same issue
@yutianhaijiao I think I fix it use <RootSiblingParent>
wrap the App.js
:
<Provider store={globalStore}>
<ThemeProvider theme={theme}>
<RootSiblingParent>
<View style={{ flex: 1 }}>
<AppContainer ref={(navigatorRef) => { NavigationService.setTopLevelNavigator(navigatorRef); }} />
</View>
</RootSiblingParent>
</ThemeProvider>
</Provider>
@GreyGao Thanks ,it is good for work .but I do not understand why
Thank you so much! This solved our issue.
Hello,
Test with jest render app, it's not work, I've tried to mock him and I have not been able.
Thanks
4.x有BUG。使用3.1.2以上就行了。
有人和react-native-navigation一起吗,没法实现全局
AppRegistry.registerComponent("xx", () => xx); AppRegistry.registerComponent("yy", () => yy); in this case ,when i am only in xx ,it is work ok. but when i am from xx to yy, then back xx, it wont show anything