You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
Android SDK has the ability to check whether the
wifi/mobile data
toggle ison/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
The text was updated successfully, but these errors were encountered: