Hello guys, How can I validate that the connection was successful?
You mean realtime?
No, I mean validate the connection with appwrite, if it really manages to connect or not
You only connect to appwrite when you send a request, for example, to get documents. So consequently, the best way to know if the connection is or not valid is by seeing if the request has a valid result or an error is being thrown
I understand, thank you, but I was referring to why my app depends 100% on appwrite, so if I don't have an initial connection to validate if I can communicate with the server, I think it would generate a bad user experience.
I mean, I would prefer to know if I have a connection from the beginning.
Well, most apps don't check if they have an initial connection
I don't think checking initial connection is needed
Perfect, thanks for responding
Do you have additional doubts or something else respect this?
Or can I mark this as solved?
Recommended threads
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...