Reputation: 1374
Getting error after i update react-navigation package with > 2.2.5 (android/ios)
RN : 0.55.4
react : 16.3.1
react-navigation : 2.3.0
redux: 3.7.2
react-navigation-redux-helpers : 1.1.2
everything is working fine before updating react-navigation version
similar issue on git hub but still not resolved https://github.com/react-navigation/react-navigation/issues/4481
my navigation structure
StackNavigation
|
home
|
login
|
.
.
I have only one navigation no nesting
Upvotes: 5
Views: 5030
Reputation: 1954
Steps to resolve
So instead of doing this
<Provider>
<AppNavigation navigation={navigation}/>
<Provider>
do this
<Provider>
<AppNavigation/>
<Provider>
Upvotes: 2
Reputation: 988
Upgrading react-navigation-redux-helpers in the package.json to version 2.0.8 solved this issue for me.
Upvotes: 1
Reputation: 64
Two minutes ago i had the same problem. Just downgrade react-navigation version to 2.2.0, this fixed my problem.
Upvotes: 4