Releases: pwittchen/ReactiveNetwork
Releases · pwittchen/ReactiveNetwork
2.0.0-rx2
1.0.0-rx2
- fixed docs in 76ab2b2 after reporting problem in #276 (returning false-positive connectivity results in one edge-case)
- updated project dependencies - PR #269, commit 02449af
- refactored
ReactiveNetwork
class with Builder pattern - PR #279 - removed the following methods from the
ReactiveNetwork
class:
Observable<Boolean> observeInternetConnectivity(int interval, String host, int port, int timeout)
Observable<Boolean> observeInternetConnectivity(int initialIntervalInMs, int intervalInMs, String host, int port, int timeout)
Observable<Boolean> observeInternetConnectivity(final int initialIntervalInMs, final int intervalInMs, final String host, final int port, final int timeoutInMs, final ErrorHandler errorHandler)
Observable<Boolean> observeInternetConnectivity(final InternetObservingStrategy strategy)
Observable<Boolean> observeInternetConnectivity(final InternetObservingStrategy strategy, final String host)
Single<Boolean> checkInternetConnectivity(InternetObservingStrategy strategy)
Single<Boolean> checkInternetConnectivity(String host,int port, int timeoutInMs)
Single<Boolean> checkInternetConnectivity(String host, int port, int timeoutInMs, ErrorHandler errorHandler)
Single<Boolean> checkInternetConnectivity(final InternetObservingStrategy strategy, final String host)
- added
InternetObservingSettings
class - added the following methods to the
ReactiveNetwork
class:
Observable<Boolean> observeInternetConnectivity(InternetObservingSettings settings)
Single<Boolean> checkInternetConnectivity(InternetObservingSettings settings)
0.12.4
0.12.3
0.12.3-rx2
- updated project dependencies -> see: abc1fd5
- updated gradle configuration in
config/quality.gradle
(replaced deprecated invocations with new ones)
0.12.2
0.12.2-rx2
- updated API of
MarshmallowNetworkObservingStrategy
- made
void registerIdleReceiver(context)
protected
- made
boolean isIdleMode(context)
protected
- made
tryToUnregisterCallback(ConnectivityManager)
protected
- made
tryToUnregisterReceiver(context)
protected
- made
NetworkCallback createNetworkCallback(context)
protected
- added
BroadcastReceiver createIdleBroadcastReceiver()
- added
onNext(Connectivity connectivity)
- added
MarshmallowNetworkObservingStrategy()
constructor - extracted
String
messages intoprotected static final
fields
- made
- set min sdk version for sample apps to 14
- updated Gradle v. 3.0.0.
- updated compile sdk version: 25 -> 26
- updated build tools version: 25.0.2 - > 26.0.2
- updated kotlin version: 1.1.3-2 -> 1.1.51
- updated project dependencies
- RxJava 2.1.2 -> 2.1.6
- support-annotations: 25.3.0 -> 27.0.1
- appcompat-v7: 25.3.0 -> 27.0.1
- truth: 0.34 -> 0.36
- mockito-core: 2.8.47 -> 2.12.0
- added ErrorProne for static code analysis
- added NullAway for static code analysis
0.12.1-rx2
Fixed memory leak in PreLollipopNetworkObservingStrategy
during disposing of an Observable
- issue #219.
0.12.0-rx2
- Fixed NPE occuring when
ConnectivityManager
isnull
inReactiveNetwork.observeNetworkConnectivity()
method - issue #209 - Added new methods to the API for checking Internet connectivity - issue #205
Observable<Boolean> observeInternetConnectivity(strategy, host)
Single<Boolean> checkInternetConnectivity(strategy, host)
- Added to documentation comment about monitoring Internet connectivity with custom host - issue #204
- Classes which implement InternetObservingStrategy handle custom hosts with and without
http://
orhttps://
prefix gracefully - issue #206 - organized packages with unit tests
- made the library more hermetic
- changed visibility of
SocketInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler handler)
method frompublic
toprotected
- changed visibility of
SocketInternetObservingStrategy#isConnected(Socket socket, String host, int port, int timeoutInMs, ErrorHandler errorHandler)
method frompublic
toprotected
- changed visibility of
Connectivity#create(Context, ConnectivityManager)
method frompublic
toprotected
- changed visibility of
WalledGardenInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler errorHandler)
method frompublic
toprotected
- changed visibility of
WalledGardenInternetObservingStrategy#createHttpUrlConnection(String host, int port, int timeoutInMs)
method frompublic
toprotected
0.12.0
- Fixed NPE occuring when
ConnectivityManager
isnull
inReactiveNetwork.observeNetworkConnectivity()
method - issue #209 - Added new method to the API for checking Internet connectivity - issue #205
Observable<Boolean> observeInternetConnectivity(strategy, host)
- Added to documentation comment about monitoring Internet connectivity with custom host - issue #204
- Classes which implement InternetObservingStrategy handle custom hosts with and without
http://
orhttps://
prefix gracefully - issue #206 - organized packages with unit tests
- made the library more hermetic
- changed visibility of
SocketInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler handler)
method frompublic
toprotected
- changed visibility of
SocketInternetObservingStrategy#isConnected(Socket socket, String host, int port, int timeoutInMs, ErrorHandler errorHandler)
method frompublic
toprotected
- changed visibility of
Connectivity#create(Context, ConnectivityManager)
method frompublic
toprotected
- changed visibility of
WalledGardenInternetObservingStrategy#isConnected(String host, int port, int timeoutInMs, ErrorHandler errorHandler)
method frompublic
toprotected
- changed visibility of
WalledGardenInternetObservingStrategy#createHttpUrlConnection(String host, int port, int timeoutInMs)
method frompublic
toprotected