Skip to content

Split shared prefs based on usage #2245

Open
@kylecorry31

Description

@kylecorry31

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions