-
A little explanation on why and how would help too. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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 |
Beta Was this translation helpful? Give feedback.
-
If user updates the app, it will be equivalent of a reinstall right? Sorry if this is a irrelavant question. |
Beta Was this translation helpful? Give feedback.
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.