question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Android's backup mechanism

See original GitHub issue

Implement BackupAgent that uses the settings import/export code.

See https://developer.android.com/guide/topics/data/autobackup and the discussion in pull request #3846.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
L418467commented, Feb 20, 2021

Android has now option to enable backups, only if they are encrypted.

Info: https://github.com/seedvault-app/seedvault/wiki/FAQ

And mentioned example how it was enabled in the Tranportr app: grote/Transportr@4dc38f4

3reactions
cketticommented, Apr 27, 2021

Please try to understand that it doesn’t matter what behavior would be acceptable to you. This is something that needs to work for everyone.

Saving (potentially unencrypted) passwords to a backup provider needs to be opt-in, not opt-out via disabling the system’s backup mechanism (that a lot of people probably don’t even know about).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data backup overview - Android Developers
This page describes what data you should back up and the backup options ... Note: If your app doesn't have a backup mechanism...
Read more >
How to implement backup & restore in Android app | Medium
Exploring how to provide your own backup-restore mechanism in ... Android comes with its own backup support but not without some problems.
Read more >
Back up or restore data on your Android device - Google Help
Open your phone's Settings app. · Tap System And then Backup. · Tap Backup account And then Add account. · If needed, enter...
Read more >
Auto Backup for Apps made simple - Android Developers Blog
Simply add the android:fullBackupOnly="true" attribute on <application/> . This is ignored on pre-M versions of Android, meaning onBackup/ ...
Read more >
Auto Backup API in Android - MindOrks
Android provides an interface between application and data backup infrastructure. It is mostly used with the Key-Value backup mechanism and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found