Hi all,
Short version: How can I let users back up their data from my apps, in case they switch phones or get their data messed up (by them or by a bug in the app)?
Longer version:
My apps typically store data in files in DirInternal (as you would expect for simple apps).
Several users have asked how they can make backups of this data in case something bad happens (see above.)
I know that Android already backs up app data using the user's Google account (assuming that's turned on), so that's one solution. But because it's invisible (or not turned on), users want an explicit way to back up/restore their data in my apps.
One of my apps has an Import/Export feature, which reads/writes CSV files using GetSafeDirDefaultExternal. That's a bit awkward for non-technical users to deal with, though, because they need to connect their phone to a computer and navigate the Android file system to find the right folder.
I'm thinking of adding an auto-backup feature using something like FirebaseStorage. The key thing is that it should be easy for them to do a backup (probably automatically) and a restore (as needed).
Has anyone come up with a good solution to this? Thanks!
Short version: How can I let users back up their data from my apps, in case they switch phones or get their data messed up (by them or by a bug in the app)?
Longer version:
My apps typically store data in files in DirInternal (as you would expect for simple apps).
Several users have asked how they can make backups of this data in case something bad happens (see above.)
I know that Android already backs up app data using the user's Google account (assuming that's turned on), so that's one solution. But because it's invisible (or not turned on), users want an explicit way to back up/restore their data in my apps.
One of my apps has an Import/Export feature, which reads/writes CSV files using GetSafeDirDefaultExternal. That's a bit awkward for non-technical users to deal with, though, because they need to connect their phone to a computer and navigate the Android file system to find the right folder.
I'm thinking of adding an auto-backup feature using something like FirebaseStorage. The key thing is that it should be easy for them to do a backup (probably automatically) and a restore (as needed).
Has anyone come up with a good solution to this? Thanks!