Skip to content

Commit d882be3

Browse files
committed
Enabling backup when the ClientSideEncryption is enabled
Signed-off-by: Rob Emery <[email protected]>
1 parent 4ba8794 commit d882be3

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ui/src/main/AndroidManifest.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737

3838
<application
3939
android:name=".Application"
40-
android:allowBackup="false"
40+
android:allowBackup="true"
41+
android:fullBackupContent="@xml/backup"
4142
android:banner="@mipmap/banner"
4243
android:enableOnBackInvokedCallback="true"
4344
android:icon="@mipmap/ic_launcher"

ui/src/main/res/xml/backup.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<full-backup-content>
3+
<include domain="sharedpref" path="." requireFlags="clientSideEncryption" />
4+
<include domain="database" path="." requireFlags="clientSideEncryption" />
5+
<include domain="file" path="." requireFlags="clientSideEncryption" />
6+
</full-backup-content>

0 commit comments

Comments
 (0)