data_connection_checker icon indicating copy to clipboard operation
data_connection_checker copied to clipboard

A pure Dart utility library that checks for an internet connection by opening a socket to a list of specified addresses, each with individual port and timeout. Defaults are provided for convenience.

Results 20 data_connection_checker issues
Sort by recently updated
recently updated
newest added

Will this library be upgraded to null-safety?

I used it to check the internet connection during the testing, I noticed that It shows "don't have internet connection while I have it over sim card". Android Phone

Hi, Is this plugin still in Beta? are there any plans to keep this plugin up to date?

Fixes https://github.com/komapeb/data_connection_checker/issues/23#issue-956018835 Breaking Changes: I had to change the `_lastTryResults` variable, it now contains the result of the first successfully completed Future.

Currently the logic is "All addresses are pinged simultaneously. ... When all the requests complete with either success or failure, a check is made to see if the list contains...

In current version it will never pass Apple AppStore app approval process, because it does not work in IPv6 network. I wasted few days because of it.

Report that an internet connection is available as soon as one request succeeds instead of potentially waiting for the last to time out.