Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key/Value Backup & restore settings & local database if a user installs the app on a new phone from a phone < Android 6.0 #22

Open
dektar opened this issue Feb 3, 2017 · 1 comment

Comments

@dektar
Copy link
Collaborator

dektar commented Feb 3, 2017

Low-priority but nice to have.

@dektar
Copy link
Collaborator Author

dektar commented Apr 9, 2017

Tested that already works properly in Android 6.0+: https://developer.android.com/guide/topics/data/testingbackup.html. So a key/value B&R would be nice to have in older versions, but that could be annoying with the database having so much data. Since this works correctly in new Android, let's consider it very low priority.

"Back up data in a database. If you have an SQLite database that you want to restore when the user re-installs your application, you need to build a custom BackupAgent that reads the appropriate data during a backup operation, then create your table and insert the data during a restore operation."
-https://developer.android.com/guide/topics/data/keyvaluebackup.html

@dektar dektar changed the title Backup & restore settings & local database if a user installs the app on a new phone Key/Value Backup & restore settings & local database if a user installs the app on a new phone from a phone < Android 6.0 Apr 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant