umm, not like this, in the Run & debug tab (probably it's opened now in the ss above). check the value of account var and from there check the value of url its making the requests too
or you could also check the client variable and see what's the endpoint
you mean like this
yep seems fine
I don't see any other reason that the connection should fail
Wait a second
On which device are you running this on @Aarush Acharya ?
emulator?
yes
so it wouldn't connect to localhost
you need to use the device ip address
shall write my IP
yep
you can get from ifconfig
okay and v1 should be there?
yep yep
okay thanks give me a second
instead of localhost your Ip address should be there
rest all stays the same
okay give me a few would let you know
Thanks a lot the error changes i guess it connected
But getting this error now
yep that's expected cause there isn't any valid session.
okay thanks that means the logic needs to be altered can take up the docs from here I guess thanks a lot
[SOLVED] Appwrite not connecting to flutter project
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- 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...