reactjs – Automatic user logout after React Native and Redux version update – iOS only


Recently I updated my React Native project version to 0.72.8 from 0.64.0.

So I had to update the below packages as well. (old versions)

"react-redux": "5.0.7",
"redux": "3.7.2",
"redux-action-buffer": "1.1.0",
"redux-immutable": "4.0.0",
"redux-persist-immutable": "4.3.0",
"redux-persist-migrate": "^5.0.0",
"redux-saga": "0.15.3",

New package versions after the RN version update

"react-redux": "8.1.3",
"redux": "4.2.1",
"redux-action-buffer": "1.2.0",
"redux-immutable": "4.0.0",
"redux-persist-immutable": "4.3.0",
"redux-persist-migrate": "^5.0.0",
"redux-saga": "1.2.3",

Let’s assume before the RN version was updated, the app was v1.0.0, and after the RN version update it was v2.0.0).

Now when I was testing, I tried to update the app from v1.0.0 to v2.0.0 via TestFlight for iOS and experienced that the app automatically logged out the user to the login screen.

Expected Behaviour:

  • Once I update the app from v1.0.0 to v2.0.0 user should not be logged out.

Android is working fine. I’m only having this issue for iOS. Please let me know if you have any idea how to solve this. Cheers!

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img