Skip to content

Using DataStore instead of SharedPreferences #2688

@4shutosh

Description

@4shutosh

Is your feature request related to a problem? Please describe.

SharedPreferences are used for storing key-value pairs in local storage, which is now deprecated.

Describe the solution you'd like

Jetpack DataStore Preferences should be used instead of shared preferences
A good article explaining the benefits is here. Its stable version is out, and can be implemented in our app.

Additional context

Files to be modified mainly includes SharedPreferenceUtil for implementing the DataStore

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions