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
- Error Generation of certification for cu...
Hi, I tried to connect a custom domain, this worked but creating the certification afterwards fails with the following error: ```txt Failed to create TLS subsc...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
- OAuth2 Error: invalid success param url ...
Hi everyone! I'm trying to implement Google OAuth2 login in a React Native app (using the Android simulator) with Appwrite Cloud, and I'm getting the following ...
