ReactiveNetwork
ReactiveNetwork copied to clipboard
Android library listening network connection state and Internet connectivity with RxJava Observables
**Describe the bug** I'm seeing rare crashes in Crashlytics with callstack: ``` java.lang.RuntimeException: android.os.DeadSystemException at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:797) at com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.create(Connectivity.java:65) at com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.create(Connectivity.java:50) at com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy$5.onLost(MarshmallowNetworkObservingStrategy.java:165) at android.net.ConnectivityManager$CallbackHandler.handleMessage(ConnectivityManager.java:2845) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.os.HandlerThread.run(HandlerThread.java:61)...
link: https://github.com/dodie/scott
Hi, thank you for this amazing library. I was wondering if this library supports custom SSL connection to observe internet connectivity! when I want to check the connection with the...
**Describe the bug** I set the timeout as usual but in a scenario when the network is connected but the internet is not available to complete a DNS lookup, there...
**Describe the bug** When i restart the router, i get notified that connection is lost but i never get notified when it's restored. **To Reproduce** Steps to reproduce the behavior:...
References: - https://github.com/hcoles/pitest - https://github.com/szpak/gradle-pitest-plugin
reference: https://github.com/jqno/equalsverifier
InternetObservingSettings with a custom host and port does not respond to the shutdown of the custom host network interface. ``` // Never fired error yet. Just for stub ErrorHandler errorHandler...
Just a thought, but could the internet connection check be a bit more intelligent and use the network check and then only check the internet if at least one is...
Right now the following test for `MarshmallowNetworkObservingStrategy` will fail: ```java @Test public void shouldAllowMultipleConnectivityObservers() { // given TestObserver observer = strategy.observeNetworkConnectivity(context).test(); TestObserver observer2 = strategy.observeNetworkConnectivity(context).test(); ConnectivityManager.NetworkCallback networkCallback = strategy.createNetworkCallback(context); //...