account.getPrefs() return map empty on flutter, is this correct behaviour?
- 0
- Users
- Accounts
- Flutter
- Cloud
im trying to get user preferences, when try to get the prefs, it return empty map. how to get the user preferences correctly?
final result = await account.getPrefs();
the result return {}
thank you
What are the users preferences if you look in the Appwrite console?
Not in the console but in client side like flutter... For example i want to get user info from preferences
Uhhh maybe you need to look into using the shared preferences package?
But do you have set any preferences in the appwrite console? Can you see them from there?
Yes i wanto to set to local storage like shared preference... i saw app write have function getPref, i want to get the data from this
Any documentation for this?
Appwrite's preferences !== shared preferences
Thanks will take a look
Recommended threads
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...