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
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...