ReactiveNetwork
ReactiveNetwork copied to clipboard
Android library listening network connection state and Internet connectivity with RxJava Observables
Hi, First, thanks for your job, it what a need ! If we have WIFI and Mobile, how we know which best? Can we have an Observable on this state...
Bumps gradle from 3.6.3 to 4.0.1. [](https://dependabot.com/compatibility-score/?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=3.6.3&new-version=4.0.1) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
**BUG** 1. MarshmallowNetworkObservingStrategy.java line 80 2. com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy.observeNetworkConnectivity **LOG** ``` Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.trt.trt/com.trt.trt.activity.scanner.BeaconScannerActivity}: android.net.ConnectivityManager$TooManyRequestsException at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4430) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4470) at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)...
We're using reactivenetwork-rx2:2.1.0 When switching activities we're seeing some ConnectivityManager related error messages. They don't seem to be causing any actual issues, but would be nice if they were cleared...
Hi @pwittchen, now that [Kotlin Coroutines Flow](https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.3.0) is stable, I'm wondering if there's any interest / plans to migrate the project to kotlin and expose `Flow` in the APIs (or...
Doze mode
Right now it doesn't take doze mode into account. You could add a receiver with a https://developer.android.com/reference/android/os/PowerManager.html#ACTION_DEVICE_IDLE_MODE_CHANGED intent filter. And check doze status via PowerManager.isDeviceIdleMode() method.
this library be from Facebook, can it be combined with your library to measure internet speed? Thank you https://github.com/facebookarchive/network-connection-class
Since API 28 all NetworkInfo properties are deprecated https://developer.android.com/reference/android/net/NetworkInfo and it is intended not to use them but use `NetworkCallback` instead. ReactiveNetwork already uses `NetworkCallback` on Marshmellow and higher https://github.com/pwittchen/ReactiveNetwork/blob/RxJava2.x/library/src/main/java/com/github/pwittchen/reactivenetwork/library/rx2/network/observing/strategy/MarshmallowNetworkObservingStrategy.java...
We should migrate build, check, tests and test coverage.
Android 8.1. Device: Hytera PNC550 **Log** > 2020-03-23 08:16:57.548 2717-2717/com.globme.timeware E/ActivityThread: Activity com.globme.timeware.activity.BootstrapActivity has leaked IntentReceiver com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy$4@d9d1f53 that was originally registered here. Are you missing a call to unregisterReceiver()? >...