Skip to content

Use DataStore as TokenManager Storage #184

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

Open
Aaron-Ritter opened this issue Apr 4, 2025 · 1 comment
Open

Use DataStore as TokenManager Storage #184

Aaron-Ritter opened this issue Apr 4, 2025 · 1 comment
Labels

Comments

@Aaron-Ritter
Copy link
Collaborator

Use DataStore

Problem

https://developer.android.com/training/data-storage/shared-preferences mentions:

Caution: DataStore is a modern data storage solution that you should use instead of SharedPreferences. It builds on Kotlin coroutines and Flow, and overcomes many of the drawbacks of SharedPreferences.

Solution

Read the DataStore guide for more information.

Alternatives/workarounds

tbd

Additional context

Since there are multiple Storage implementations, should this implementation be added and used by default?

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

@Aaron-Ritter
Copy link
Collaborator Author

Additionally, dependencies used by SharedPerferences are getting deprecated https://developer.android.com/jetpack/androidx/releases/security#1.1.0-alpha07.

@linear linear bot added SDK Core and removed SDK Core labels Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant