
Hello,
I use Ionic/Angular with Appwrite to run a PWA.
I use Appwrite Auth, Database, Function and Storage, and everything runs fine.
If I build an Android app with Ionic, all Appwrite services (Auth, Databse and Function) work except for the storage. Storage is: user:read permission. I want to display images from the storage in the user area (via Ionic Components or Html tags). I can't get it to work in android -> Unless I set the permissions in the storage to any:read.
The app probably runs in the native android app in the webview on a localhost. (I have a wildcard hostname in Appwrite). This is also shown by the natural message from Appwrite regarding locim copycat from android.
Will this be a Cors problem ?
If I set the capacitor server url directly to my webapp, everything works again, but I lose the advantages of the Android Native App (because then I only have a webview on a website).
Any ideas to help me with that ?
Best regards Matthias
Recommended threads
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
