I need a solution to be able to *instantly* detect internet disconnection & reconnection.
I'm currently using ajax query every 1 sec - its working but I'm not happy with it because request timed out can take upto 2-3 seconds during heavy loads etc.
I'm looking for something better.
I've used [url removed, login to view]; but it does not help because it only detects network connection break. It does not detect internet connection break.
Network disconnection = Wifi or Mobile Network unavailable
Internet disconnection = Wifi or Mobile Network available, but backend internet not available
I'm open to websockets based solution or anything else if it works as I need -- *instantly* detect internet disconnection & reconnection
7 freelancers están ofertando el promedio de $105 para este trabajo
Hello, Hope you are well, I will make your app detect internet disconnection and connection. Kindly get in-touch we discuss the details. With Warm Regards, Denzel.
*[login to view URL] can be used for this matter if cordova-plugin-network-information plugin takes more time than you expect. I will check with the both options.