Closed ericberman closed 3 years ago
Looks like isOnline is optimistic about "true" if on the main thread - so more than anything, should call from background thread.
Most important for save pending.
should switch away from getActiveNetworkInfo to using NetworkCallback
See https://developer.android.com/reference/android/net/ConnectivityManager.NetworkCallback
E.g., if on stratus or a firewall is blocking MyFlightbook, determine that.