Back

Problem with flutter app when change network

  • 0
  • Flutter
mo7amedtech
1 Apr, 2023, 23:34

I have connected appwrite to my own flutter application. When I was activating the debugging mode, the application worked well, but I was connected to Wi-Fi. However, when I left the Wi-Fi and switched the network, the login never worked. What is the solution to this problem? Do I have to create a custom domain

TL;DR
The user is experiencing authentication issues with their Flutter app when changing networks. It appears that the problem may be related to not giving internet permissions to the app. Another potential issue mentioned is not having internet connectivity enabled for release mode. The user also mentions using the Appwrite endpoint for their app. The solution is not provided in the support thread.
Drake
1 Apr, 2023, 23:35

So where is appwrite hosted and what did you use for the endpoint?

mo7amedtech
1 Apr, 2023, 23:35

I use cloud.appwrite endpoint

Drake
1 Apr, 2023, 23:36

And what error are you getting?

mo7amedtech
1 Apr, 2023, 23:36

Authentication work when link mobile to laptop and run debugging mode

When change network authentication does not work

mo7amedtech
1 Apr, 2023, 23:37

In release mode

Drake
1 Apr, 2023, 23:38

Maybe you don't have Internet connectivity enabled in your app for release mode

mo7amedtech
1 Apr, 2023, 23:39

Ooooh i didn't give permission internet to app

Is this problem Right ?

Drake
1 Apr, 2023, 23:40

Maybe

mo7amedtech
1 Apr, 2023, 23:40

Sure Thank you very much ❀️

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more