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
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...