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.example
are 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
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...