
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
- Encountering More factors are required w...
I am encoutering the more factors error even though I am providing proper mfa code in the workflow. The following happens: 1) User provides email adress 2) Use...
- Network Request Failed
Trying to save a file to the bucket but getting network request failed. Using react-native-image-picker.
- Storage bucket not found with session cl...
Hey folks, I get storage_bucket_not_found when trying to get a file with storage.getFile(). I can confirm that a bucket with the requested ID exists as I'm able...
