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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...