ReactiveNetwork
ReactiveNetwork copied to clipboard
Android library listening network connection state and Internet connectivity with RxJava Observables
the Internet Status will be **true** even if I connected to a wifi with invalid Proxy. Is there expected? I reckon it should be false as the device could not...
References: - https://developer.android.com/reference/android/net/ConnectivityManager.html#getNetworkCapabilities(android.net.Network) - https://stackoverflow.com/questions/29224026/how-to-get-networkcapabilities-object-on-android
Reference: https://developer.android.com/reference/android/net/ConnectivityManager.html#isActiveNetworkMetered()
Consider adding Observable for NetworkInfo.DetailedState. Reference: https://developer.android.com/reference/android/net/NetworkInfo.DetailedState.html
Reference: https://developer.android.com/reference/android/net/ConnectivityManager.NetworkCallback.html We can create new observables for the following methods: - `onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities)` - `onLinkPropertiesChanged(Network network, LinkProperties linkProperties)` - `onLosing(Network network, int maxMsToLive)` General thoughts: - Optionally,...
How to check Internet Connection in Background continuously even if App is Running or Not/Closed..
How Check Internet Connection in Broadcast Receiver or Service Like as we do in Activity ? But I need in Service or Broadcast Receiver.. Means I need to check Internet...
fixes in the logic of MarshmallowNetworkObservingStrategy and tests according to PR #455 related to utilization of the NetworkState class
Hi, I would like to understand RN usage on IPv4 and IPv6 since I can't find in any documentation regarding this. More specifically, I would like to know: - Does...
InternetObservingSettings settings = InternetObservingSettings.builder() .interval(20 * 1000) .strategy(new SocketInternetObservingStrategy()) .build(); try { internetDisposable = ReactiveNetwork.observeInternetConnectivity(settings) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(isConnected -> { if (isConnected) { Utility.sendAnyUnsentDAC(getApplicationContext()); } }); } catch (Exception e)...