android/security-samples

Backup and restore

rddewan opened this issue · 1 comments

Hi
Is there a solution to backup and restore the encrypted file ans hared pref

Thank you

Hi,
No, the data stored in encrypted files and shared preferences using the Jetpack Security library are encrypted with keys stored inside the device that cannot be extracted. It's not possible to recover the data if the app has been uninstalled or moved to another device.

If you need to do this, then you'd need to use Tink directly.