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
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...