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
- [Solved] Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...