its working fine on android emulater but when i build apk and tried on my phone its not working. app interface is working fine but none of the appwrite functions are triggering
Do you have any errors you can share? What did you put for the appwrite endpoint?
Just tested and had the same issue. These steps resolved the issue:
- Update app package name/bundle id (was
com.example.myapp). In android apps that begin withcom.exampleare regarded as debug apps.
- Add internet permission to the main
AndroidManifest.xml. Android docs says it's not strictly needed but I prefer making it explicit. - Update your project's platform package name/bundle id on your appwrite console.
Thats it, hope it helps. FYI, I'm using a self-hosted appwrite instance.
i did all of it before but did't work
but for some reason its working now
thanks for ur suggestions
Recommended threads
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...