Skip to content
Back

Storage issue

  • 0
  • Android
  • React Native
  • Apple
  • Storage
sindrek
3 Jan, 2025, 12:54

Hi, I have spent a day trying to figure out why my expo react native app works getting a zipped file from appwrite storage on ios, but not on android. On android appwrite returns a 404 (a 200 ok with ios). I use storage.getFileDownload to get the url and FileSystem.downloadAsync(remoteFileUrl.href, localFileUri) to get the file. I.e same code for both. Then I started to check a bit under appwrite console and storage for the file - permissions. It had ticked read for all users which I guess is correct. Then I added read for guests, and then it started to work for android! Then I removed guest permission so read for users is on only again as it should. Then it continued to work for android and still for ios .. So this is a bit worrying .. (The test user is authenticated and confirmed.) So I believe this should be looked into by some of you clever Appwrite designers? If not a known issue already? In a couple of months I will release my paid app for both android and ios and I have some worries if I dear to stick with appwrite. Is there any date settled it will go from beta to full production when you host it for us? I know I can run it myself also as a docker image, tried it works fine.

TL;DR
Expo React Native app works on iOS but not on Android due to storage issue with Appwrite. After adjusting permissions to include read for guests and then removing it, the app now works on both platforms. Developer also inquires about Appwrite going from beta to full production.
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