Search code examples
javascriptreact-nativeasyncstorage

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.


Solution

  • 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.