Disable backup on Android 12
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
<application
|
||||
android:name=".App"
|
||||
android:allowBackup="false"
|
||||
android:dataExtractionRules="@xml/no_backup"
|
||||
android:label="@string/app_name"
|
||||
android:banner="@mipmap/banner"
|
||||
android:hasFragileUserData="true"
|
||||
|
||||
9
mobile/src/main/res/xml/no_backup.xml
Normal file
9
mobile/src/main/res/xml/no_backup.xml
Normal 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>
|
||||
Reference in New Issue
Block a user