InternetAvailabilityChecker icon indicating copy to clipboard operation
InternetAvailabilityChecker copied to clipboard

this project checks if internet is present or not on device. Connecting to network doesn't mean internet access so this project pings google to check if internet is present or not

Results 7 InternetAvailabilityChecker issues
Sort by recently updated
recently updated
newest added

Caused by java.lang.ArrayIndexOutOfBoundsException: length=8192; index=8192 at com.android.okhttp.okio.Buffer.writeUtf8(Buffer.java:820) at com.android.okhttp.okio.Buffer.writeUtf8(Buffer.java:795) at com.android.okhttp.okio.RealBufferedSink.writeUtf8(RealBufferedSink.java:58) at com.android.okhttp.internal.http.Http1xStream.writeRequest(Http1xStream.java:169) at com.android.okhttp.internal.http.Http1xStream.writeRequestHeaders(Http1xStream.java:125) at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:606) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:475) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30) at com.treebo.internetavailabilitychecker.CheckInternetTask.doInBackground(CheckInternetTask.java:68) at...

When there is rapid change in the network status for continuous intervals eg 4 times, the internet availability status locks to internet not being available. An example is when airplane...

the url you are using is `https://clients3.google.com/generate_204` however there is some countries who don't have access to google ( banned ) so it will be more user friendly if you...

if you need to change it for some reason ( local network , google baned , ping on a specific server , etc ... ) you can use the bellow...

Hi! Thanks for your library! But I don't find any info about versions, only common _"compile 'com.treebo:internetavailabilitychecker:$**library_version**'"_ Please add info about last library version/ Also replase pleace _"compitle"_ to _"implementation"_...

Hi Ankit, What if I remove internet cable from wifi router. I am not getting any callback. My mobile is connected to wifi of router only internet cable is removed...

When Launching the Application for the First time the value of the variable "**isConnected**" is **false** even if we are connected to the internet connection. I have implemented it in...