Reputation: 1631
According the documentation on Xamarin Essentials Preferences. I understand that the preferences will removed when the app is unistalled.
Persistence
Uninstalling the application will cause all Preferences to be removed. There is one exception to this, which for apps that target and run on Android 6.0 (API level 23) or later that are using Auto Backup. This feature is on by default and preserves app data including Shared Preferences, which is what the Preferences API utilizes.
My question is, when an app is updated on iOS or Andriod is that considered uninstalling and re-installing and the preferences get removed? Or just an install and nothing is removed?
Upvotes: 1
Views: 568
Reputation: 33993
No an uninstall really means an uninstall. So actually remove the app and then reinstall from the store.
An update will retain the preferences.
Upvotes: 2