mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
feat(android): declare backup rules
This commit is contained in:
parent
11da08a8f8
commit
a2422f9356
3 changed files with 24 additions and 1 deletions
|
@ -5,11 +5,14 @@
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<application
|
<application
|
||||||
android:name=".ClawApplication"
|
android:name=".ClawApplication"
|
||||||
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||||
|
android:fullBackupContent="@xml/full_backup_content"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/ic_launcher"
|
android:roundIcon="@mipmap/ic_launcher"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.Claw.SplashScreen">
|
android:theme="@style/Theme.Claw.SplashScreen"
|
||||||
|
tools:targetApi="s">
|
||||||
<profileable
|
<profileable
|
||||||
android:shell="true"
|
android:shell="true"
|
||||||
tools:targetApi="29" />
|
tools:targetApi="29" />
|
||||||
|
|
14
android/src/main/res/xml/data_extraction_rules.xml
Normal file
14
android/src/main/res/xml/data_extraction_rules.xml
Normal 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>
|
6
android/src/main/res/xml/full_backup_content.xml
Normal file
6
android/src/main/res/xml/full_backup_content.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<full-backup-content>
|
||||||
|
<include
|
||||||
|
domain="database"
|
||||||
|
path="databases" />
|
||||||
|
</full-backup-content>
|
Loading…
Add table
Add a link
Reference in a new issue