Closed

JavaScript + Cordova -> Detect Internet Disconnection - $50

This project received 9 bids from talented freelancers with an average bid price of $97 USD.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $250 USD
Total Bids
9
Project Description

I'm creating a Hybrid App using JavaScript + Cordova Plugins (no Ionic).

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

Budget: $50

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online