Disable backup on Android 12

This commit is contained in:
Mygod
2021-05-26 16:22:23 -04:00
parent c6e71a45a0
commit b365db3d14
2 changed files with 10 additions and 0 deletions

View File

@@ -58,6 +58,7 @@
<application <application
android:name=".App" android:name=".App"
android:allowBackup="false" android:allowBackup="false"
android:dataExtractionRules="@xml/no_backup"
android:label="@string/app_name" android:label="@string/app_name"
android:banner="@mipmap/banner" android:banner="@mipmap/banner"
android:hasFragileUserData="true" android:hasFragileUserData="true"

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<data-extraction-rules>
<cloud-backup>
<include domain="file" path="nonexistent" />
</cloud-backup>
<device-transfer>
<include domain="file" path="nonexistent" />
</device-transfer>
</data-extraction-rules>