如何测试在 ios 和 android 上禁用自动备份?

How to test disabling automatic backups on ios and android?

我正在使用 Ionic v1、Cordova 和 AngularJS v 1.5 构建应用程序。

我同时针对 Android 和 iOS。

出于安全原因,我被建议关闭自动备份。

我相信这适用于 iOS 和 Android。 iCloud 和 Google 云。

我们的应用程序已经使用了很长一段时间,所以有些人已经有了备份。

如果我禁用备份,人们的备份还会存在吗?从过去?然后它就不再备份了?有没有办法从应用程序中删除以前的备份?我们能为过去做些什么吗?

此外,我将需要测试禁用它是否真的有效并且不做任何备份。 我该怎么做?

您可以通过进入 manifest 文件并将 android:allowBackup="true" 更改为 android:allowBackup="false" 来禁用 Android 上的自动备份。

Auto Backup for Apps automatically backs up a user's data from apps that target and run on Android 6.0 (API level 23) or later

示例:

<manifest ... >
...
<application android:allowBackup="false" ... > <!-- This will opt out of auto backups -->
    ...
</application>

您可以阅读更多关于 auto backups.

备份位置

Backup data is stored in a private folder in the user's Google Drive account, limited to 25MB per app. The saved data does not count towards the user's personal Google Drive quota

确认是否备份。

Users can see a list of apps that have been backed up in the Google Drive Android app. On an Android-powered device, users can find this list in the Drive app's navigation drawer under Settings > Backup and reset > App data.