Trail-Sense icon indicating copy to clipboard operation
Trail-Sense copied to clipboard

Split shared prefs based on usage

Open kylecorry31 opened this issue 1 year ago • 0 comments

Currently the shared prefs contain both cache and settings, but should only contain settings.

Some ideas:

  • [ ] Create a second data store for caching (default remains settings)
  • [ ] Create a data store for each source (pedometer, GPS, altimeter, etc)
  • [ ] Create two new stores: cache (sensor & device specific) and other (not sure what to call it right now - but contains the flags that indicate a user acknowledged a dialog / one time messages)

And then on backup/restore potentially don't back up the sensor/device cache.

kylecorry31 avatar Feb 25 '24 22:02 kylecorry31