Skip to content

Question: Will uninstalling the app persist the storage? #835

Answered by tido64
rahgurung asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer: AsyncStorage does not control this and it depends on your app and/or the platform.

Longer answer: On Android, it seems that the default behaviour is to delete only the app and keep the data around. This means that if you re-install the app, you'll get the state prior to removing the app. Apparently, you can disable this by setting android:allowBackup="false". On iOS, it seems that deleting the app also removes the associated data. You can opt into iCloud, which should backup the data and restore it on re-install.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rahgurung
Comment options

You must be logged in to vote
2 replies
@tido64
Comment options

@hourzn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #834 on August 23, 2022 08:03.