ReactiveNetwork
ReactiveNetwork copied to clipboard
Android library listening network connection state and Internet connectivity with RxJava Observables
**Internet connected state is misleading** I added the library to my projects and I'm only observing internet connectivity. It is always returning false even when my wifi is working fine....
Release notes: - **migrated library to RxJava3.x** on RxJava3.x branch and released it as `reactivenetwork-rx3` artifact - the `onError` method in `NetworkObservingStrategy` now requires a `Throwable` instead of an `Exception`....
**Describe the bug** Occur crash when I call the function checkInternetConnectivity(). This is one time issue. **To Reproduce** Steps to reproduce the behavior: 1. call below function fun checkInternetConnectivity(context: Context):...
The bug is reproduce only on 11 android when call ReactiveNetwork.observeNetworkConnectivity(context) https://android-review.googlesource.com/c/platform/frameworks/base/+/1758029/ In ExoPlayer it is fixed like this https://github.com/google/ExoPlayer/commit/2e21208f639c7eb5baf5e7a3ae1180b13be3b733 android.net.ConnectivityManager.registerNetworkCallback (ConnectivityManager.java:4564) com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy.observeNetworkConnectivity (MarshmallowNetworkObservingStrategy.java:80) com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork.observeNetworkConnectivity (ReactiveNetwork.java:92) com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork.observeNetworkConnectivity (ReactiveNetwork.java:73) Could you...
This PR introduces the following update: Was concerned about issue #318 However I couldn't completely remove the NetworkInfo class in Connectivity class I just changed it so that it would...
**Describe the bug** I am using this code for listening to wifi changes - ReactiveNetwork.observeNetworkConnectivity(context) .subscribeOn(Schedulers.io()) .filter(ConnectivityPredicate.hasType(NetworkCapabilities.TRANSPORT_WIFI)) .observeOn(AndroidSchedulers.mainThread()) .subscribe({ logWarning("###### change network = $it") },{ }) I am testing the...
After using this library my broadcast receiver which was working fine before inside the same activity stopped working
Hi Sir, with ReactiveNetwork can we get internet connection speed from ReactiveNetwork.observeInternetConnectivity() ?
**Describe the bug** The class NetworkInfo was deprecated in API level 29, the library needs some fixing.