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
- SSR Image Previews
I am using the SSR guide (with SvelteKit) to use Appwrite on both the server and the client. I do this by also passing the cookie back to the client and creatin...
- general_route_not_found
{"message":"Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for ...
- session cookie not saving
it appears with my app hosted on Cloudflare worker pages, when i try to login it does not save the session cookie. however it saves in on localhost and no probl...