Flutter Developer
Hello guys, How can I validate that the connection was successful?
Votes
0
Replies
9
Participants
Unknown
Messages
10
Flutter Developer
Hello guys, How can I validate that the connection was successful?
Moderator
You mean realtime?
Flutter Developer
No, I mean validate the connection with appwrite, if it really manages to connect or not
Moderator
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
Flutter Developer
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.
Moderator
Well, most apps don't check if they have an initial connection
Moderator
I don't think checking initial connection is needed
Flutter Developer
Perfect, thanks for responding
Moderator
Do you have additional doubts or something else respect this?
Moderator
Or can I mark this as solved?