Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<application
android:name=".ReadropsApp"
android:allowBackup="true"
android:fullBackupContent="@xml/full_backup_content"
android:dataExtractionRules="@xml/data_extraction_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
Expand Down
11 changes: 11 additions & 0 deletions app/src/main/res/xml/data_extraction_rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup disableIfNoEncryptionCapabilities="true">
<include domain="sharedpref" path="." />
<include domain="database" path="." />
</cloud-backup>
<device-transfer>
<include domain="sharedpref" path="." />
<include domain="database" path="."/>
</device-transfer>
</data-extraction-rules>
13 changes: 13 additions & 0 deletions app/src/main/res/xml/full_backup_content.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<include
domain="sharedpref"
path="."
requireFlags="clientSideEncryption,deviceToDeviceTransfer"
/>
<include
domain="database"
path="."
requireFlags="clientSideEncryption,deviceToDeviceTransfer"
/>
</full-backup-content>