
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
- Relationship problem
When I UPDATE a document that has a relationship and I pass id and all the data of the relationship it works but if i CREATE a document then it says 401 user un...
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
