Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable auto backup #232

Open
davecraig opened this issue Oct 21, 2024 · 0 comments
Open

Enable auto backup #232

davecraig opened this issue Oct 21, 2024 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@davecraig
Copy link
Contributor

davecraig commented Oct 21, 2024

Currently we have allowBackup disabled in AndroidManifest.xml because we only had the tile database which is really used as a cache. However, we do want the markers and routes database to be backed up, so we should read https://developer.android.com/identity/data/autobackup and figure out how to correctly manage our caches and database backups so that we can backup the things that are important to us.
We should then check that the Clear storage and Clear cache buttons in the app info/storage and cache tab do what we want.

(Note that there are 'a few' tile caches to consider:

  • HTTP cache of tiles from soundscape-backend server
  • Realm database of tiles from soundscape-backend server
  • Cache of UI map vector tiles from protomap server within maplibre

I think that's all of them!)

@davecraig davecraig added the good first issue Good for newcomers label Oct 21, 2024
@davecraig davecraig added this to the 1.0 milestone Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant