Nodrex/Testomania

Advance network status checker

Nodrex opened this issue · 1 comments

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

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.