The issue has been closed
I always get this error.
My App.js file
render() {
return (
<AppContainer
ref={navigatorRef => {
NavigationService.setTopLevelNavigator(navigatorRef);
}}>
);
}
Could you please help me on this to resolve.
@Chandrakala-B you need to wrap your App in a provider.
Example:
<Provider store={store}>
<App />
</Provider>
posted by LiquidSean over 5 years agoI was getting this error when I had a provider wrapping my app component. I resolved this issue by updating react-redux to the latest version.
posted by doug-stritt over 5 years agoClosing due to being stale.
posted by rgommezz over 5 years agoI have the same behvariour when using a switch navigator wrapped in a Provider. I don't think this issue should be disregarded that easily. I'm using react-redux 7.1.1
and react-native-offline 5.1.0
.
posted by horodnicdragos over 5 years agoI upgrade from react-redux 7.1.0
to react-redux 7.1.3
and it's worked.
posted by helderburato about 5 years agoi upgraded to 7.1.3, no luck - also using SwitchNavigator
posted by okeybond about 5 years ago@okeybond @horodnicdragos Did you solve the problem? I still got this problem.
@rgommezz Could you reopen the issue because it is not solved in every case.
posted by dickerpulli almost 5 years agoCan you provide a repro repo/snack?
posted by ankeetmaini almost 5 years agoposted by dickerpulli almost 5 years ago posted by ankeetmaini almost 5 years ago Thank you. I currently fixed my issue with using react-native-offline 5.2.0 instead of the latest one.
posted by dickerpulli almost 5 years ago