[英]Ionic app does not remove local data after uninstalling
I have found a solution for Android but not able to get one for iOS.我找到了 Android 的解决方案,但无法为 iOS 找到一个解决方案。
It should remove all data upon uninstallation.它应该在卸载时删除所有数据。
If you are using Cordova, add the following in your config.xml
-如果您使用的是 Cordova,请在config.xml
中添加以下内容 -
Inside <platform name="ios">
- <platform name="ios">
内部 -
<preference name="BackupWebStorage" value="none" />
Default value is cloud
.默认值为cloud
。 https://cordova.apache.org/docs/en/latest/config_ref/index.html https://cordova.apache.org/docs/en/latest/config_ref/index.html
Inside <platform name="android">
-里面<platform name="android">
-
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:allowBackup="false" android:fullBackupContent="false" />
</edit-config>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.