Advance network status checker
Nodrex opened this issue · 1 comments
Nodrex commented
Android SDK has the ability to check whether the wifi/mobile data
toggle is on/off
, but it can not detect if a network is down, we need to write our own URL pinger.
So if there are no libraries to implement this functionality we can create our own and combine Androids Official API and URL pinger and create a new independent library, maybe even be multiplatform
kdiakonidze commented
we can check retrofit response for IOException, instead of pinging some url. There is no reason to display network status for user, if user does not using it.