feat(android): declare backup rules

This commit is contained in:
Harsh Shandilya 2022-09-23 17:10:11 +05:30
parent 11da08a8f8
commit a2422f9356
No known key found for this signature in database
3 changed files with 24 additions and 1 deletions

View file

@ -5,11 +5,14 @@
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".ClawApplication"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/full_backup_content"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.Claw.SplashScreen">
android:theme="@style/Theme.Claw.SplashScreen"
tools:targetApi="s">
<profileable
android:shell="true"
tools:targetApi="29" />

View file

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

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<include
domain="database"
path="databases" />
</full-backup-content>