Xamarin Forms essentials 首选项
Xamarin Forms essentials Preferences
根据 Xamarin Essentials 首选项上的 documentation。我了解当应用程序卸载时,首选项将被删除。
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.
我的问题是,当应用程序在 iOS 或 Andriod 上更新时,是否考虑卸载并重新安装并且首选项被删除?或者只是一个安装而没有删除任何东西?
没有卸载真正意味着卸载。所以实际上删除应用程序,然后从商店重新安装。
更新将保留首选项。
根据 Xamarin Essentials 首选项上的 documentation。我了解当应用程序卸载时,首选项将被删除。
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.
我的问题是,当应用程序在 iOS 或 Andriod 上更新时,是否考虑卸载并重新安装并且首选项被删除?或者只是一个安装而没有删除任何东西?
没有卸载真正意味着卸载。所以实际上删除应用程序,然后从商店重新安装。
更新将保留首选项。