Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / games / arrows / src / main / res / xml / data_extraction_rules.xml

data_extraction_rules.xml35 lines · 1.8 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Arrows. Audited state: filesDir/datastore/settings.preferences_pb, holding the
4 current level, which arrows have flown, the hearts left, the daily board with
5 the day it belongs to, and the show-routes preference; plus
6 filesDir/datastore_default.preferences_pb, the shared DataStoreUtils file
7 holding the DailyChallengeStore("arrows_daily") streak, the daily reminder
8 settings and the AchievementsManager unlocks. No SharedPreferences, no Room
9 database, nothing written to external storage - achievements.json is a
10 read-only APK asset and every board is generated on device from its level
11 number or the date. Back everything up; it is a few KB of pure user progress.
12 SCOPE: arrows declares android:backupAgent=".platform.AppBackupAgent" and does
13 NOT set android:fullBackupOnly, so Android uses key/value backup and the
14 <cloud-backup> section below is NOT consulted. Cloud content is exactly
15 AppBackupAgent's datastoreNames = ["settings", "datastore_default"], which is
16 the same data this file would have sent. <device-transfer> IS governed here,
17 and these rules become the cloud control too if the backupAgent is ever
18 removed.
19-->
20<data-extraction-rules>
21 <cloud-backup>
22 <include domain="root" path="." />
23 <include domain="file" path="." />
24 <include domain="database" path="." />
25 <include domain="sharedpref" path="." />
26 <include domain="external" path="." />
27 </cloud-backup>
28 <device-transfer>
29 <include domain="root" path="." />
30 <include domain="file" path="." />
31 <include domain="database" path="." />
32 <include domain="sharedpref" path="." />
33 <include domain="external" path="." />
34 </device-transfer>
35</data-extraction-rules>