FlowReactiveNetwork icon indicating copy to clipboard operation
FlowReactiveNetwork copied to clipboard

Android library listening network connection state and Internet connectivity with Coroutines Flow

Results 3 FlowReactiveNetwork issues
Sort by recently updated
recently updated
newest added

When I'm using ```kotlin ReactiveNetwork().observeInternetConnectivity().onEach { Log.e("MainActivity", "has Internet: ${it}") }.launchIn(CoroutineScope(Dispatchers.Default)) ``` Whenever I'm in airplane mode my application get spammed by `E/ReactiveNetwork: Could not establish connection with WalledGardenStrategy` what...

help wanted

We are getting this exception from Android 11 users on a regular basis: ```java Caused by java.lang.SecurityException: Package android does not belong to 10273 at android.os.Parcel.createExceptionOrNull(Parcel.java:2376) at android.os.Parcel.createException(Parcel.java:2360) at android.os.Parcel.readException(Parcel.java:2343)...

help wanted

What would be the best way to get status connected/disconnected since connectivity.state == NetworkInfo.State.CONNECTED is deprecated.

help wanted