element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
Apache License 2.0
3.27k stars 677 forks source link

Allow backup to Seedvault #2598

Open opusforlife2 opened 3 years ago

opusforlife2 commented 3 years ago

Is your feature request related to a problem? Please describe. Having to set up apps without a Google app backup used to be a pain. Now there is Seedvault as a backup solution integrated into LineageOS 17.1.

Describe the solution you'd like Element Android should allow itself to be backed up to Seedvault.

Describe alternatives you've considered A manual backup which creates a file in the internal storage.

Additional context https://github.com/vector-im/element-android/issues/2588#issuecomment-752002058

Hmmm. Apparently, it may not be a good idea: https://github.com/seedvault-app/seedvault/wiki/FAQ#why-do-some-apps-not-allow-to-get-backed-up

emorrp1 commented 3 years ago

Quoting from the link:

It is not yet widely known that backups can now be encrypted with a device key ... Instead of opting out completely, app developers can say that their app should only get backed up, if the backup is encrypted.

I'd like to use the built-in LineageOS supported backup rather than the matrix-synapse Secure Backup. Even if you're not willing to include the crypto keys, the login details, settings, cache etc. are tedious to setup from scratch.

opusforlife2 commented 3 weeks ago

That Seedvault wiki page got updated:

Instead of opting out completely, app developers can say that their app should only get backed up, if the backup is encrypted.