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
- Sites - Tanstack start
Hi all do we know if sites will support deploying Tanstack start?
- Email template for OTP session
The default template shown by cloud interface does not match the sent template. Also whenever I change a character on the default template, the variable matcher...
- Relationship Array
I am still having issues adding items to an relationship Array. Is this going to be fixed soon? How can I do this operation without the Appwrite UI?
