feat: Set up data transfer when changing Android device - #2029
feat: Set up data transfer when changing Android device#2029Elouan1411 wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enables Android backup/device-transfer support so selected app settings (and some local state) can be restored when a user changes to a new Android device.
Changes:
- Enables app backup in the manifest and wires up
dataExtractionRules+fullBackupContent. - Updates data extraction rules to back up shared preferences and selected internal files for cloud backup and device transfer (plus DB/Realm for device transfer).
- Adds a new
backup_rules.xmlfile intended to scope Auto Backup contents.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| app/src/main/AndroidManifest.xml | Enables backups and references the new backup/data-extraction rule resources. |
| app/src/main/res/xml/data_extraction_rules.xml | Defines cloud-backup and device-transfer include rules for prefs/files/DB/Realm. |
| app/src/main/res/xml/backup_rules.xml | Adds full-backup-content rules intended to scope Auto Backup for pre-Android 12 behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bbb050b to
e87b01c
Compare
tevincent
left a comment
There was a problem hiding this comment.
Need to handle token derivation.
e87b01c to
9028ba9
Compare
|
Pull request was converted to draft
9028ba9 to
cc03a8c
Compare
153e4f2 to
5f8fa5d
Compare
a515a6c to
ed5a821
Compare
|
This PR/issue depends on:
|
|
Token derivation is now handled. |
ed5a821 to
dae399d
Compare
cb64bff to
c929d15
Compare
c929d15 to
014480c
Compare
|



EDIT by @LouisCAD :
Depends on Infomaniak/android-core#825