In my app, I store data in an Sqlite file and then upload this data to the server.
Sometimes the user would uninstall the app and then reinstall again when they run into an issue.
When they uninstall the app, all data is lost.
Where can I store the DB file so that even when the user uninstall the app, the data is still kept, so that when they install the app again, that data gets uploaded?
I have SOME flexibility since the app is not on the playstore, and I don't have to target the latest API version.
Sometimes the user would uninstall the app and then reinstall again when they run into an issue.
When they uninstall the app, all data is lost.
Where can I store the DB file so that even when the user uninstall the app, the data is still kept, so that when they install the app again, that data gets uploaded?
I have SOME flexibility since the app is not on the playstore, and I don't have to target the latest API version.