Viet Anh Nguyen
Viet Anh Nguyen

Reputation: 53

Is AsyncStorage still remain after update app to new codebase?

I have a react-native project that I plan to re-write all the code base, new source code. And I plan to use the same package id.

So my client, they want the users will receive notification about new app version. And after they updated, the login state will remain , so users will not have to login again.

So I wonder in this case, AsyncStorage has been clear or it should remain ?

Thank you.

Upvotes: 5

Views: 2507

Answers (1)

Johny Boy
Johny Boy

Reputation: 134

If the user does not uninstall the app and installs it again, the AsyncStorage will not be cleared. Taking into account that the app will be deployed to the same Android/IOS app in Play Store/App Store.

Upvotes: 4

Related Questions