You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate from deprecated SharedPreferences to SharedPreferencesAsync #1276
A mixture of using the outdated SharedPreferences (like currently in this package) and SharedPreferencesAsync in the users code causes issues. For example, any call to SharedPreferencesAsync will overwrite values of SharedPreferences even for other keys. This causes the access and refresh token to be outdated/wrong.
A solution is to migrate to the new SharedPreferencesAsync. This requires the user to migrate to the new classes as well, but that's planned by the shared_preferences plugin anyway. This would require explicit documentation in the migration notes for existing users, but also for new users starting with v3.
Activity
github-actions commentedon May 31, 2026
This issue has been inactive for 180 days.
It will be automatically closed in 30 days if there is no further activity.
If you believe this issue is still relevant, please leave a comment to keep it open.
Thank you for your contributions!
fix(supabase_flutter)!: persist the session with SharedPreferencesAsy…