Back

Prefs not saving data

  • 0
  • Databases
  • Flutter
  • Cloud
  • Accounts
Nuaiman
30 Aug, 2023, 06:47

Hello, below attached are a few screen shots for reference.

I cannot save my uploadedImgae URL in prefs, although the same url saves in the database.

Please note I am using appwrite cloud.

TL;DR
User is having trouble saving uploadedImage URL in prefs. They've tried checking the URL and it works, and it saves in the database but not in prefs. One possible solution is to print the URL before calling updatePrefs to verify if it is correct. There is no error message provided. User is using appwrite cloud.
manazo
30 Aug, 2023, 07:23

what the error message shows?

Nuaiman
30 Aug, 2023, 20:20

There is no error message

Drake
30 Aug, 2023, 20:24

maybe try printing the url before calling updatePrefs. then verify you can see that print and it's correct

Nuaiman
31 Aug, 2023, 16:20

@Steven yes I can, tried that, url works, and also it saves in database, but dosnt save in prefs

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more