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
- login With OAuth Failed
login With OAuth Failed: when i cliick to login with any of the following (facebook, gmail or apple) am being redirected out of the app to enter my detail, afte...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...