6.0.0 (2021-02-19)
- useNetinfo: return null for initial unknown connection state (#444 by @lisabaut) (4d84f14), closes #295
- useNetinfo: When the connection state is unknown, the
isConnected
andisInternetReachable
properties are now set tonull
rather thanfalse
. This allow you to easily detect the initial "unknown" state before the state is detected and set to aboolean
.
5.9.10 (2021-01-06)
- ios,tvos: Remove IPv4-only paths to prevent App Store warnings (#431 by @ greenantdotcom ) (1db98cb)
5.9.9 (2020-11-23)
5.9.8 (2020-11-23)
- windows: Resolve Missing Deploy Target (#426 by @chiaramooney) (b43a3e4)
5.9.7 (2020-09-18)
5.9.6 (2020-08-10)
5.9.5 (2020-07-16)
5.9.4 (2020-06-25)
- android: Add another check in ConnectivityReciever to make sure we have ACCESS_WIFI_STATE permission (#379 by @sweggersen) (b0ff1ff)
5.9.3 (2020-06-19)
5.9.2 (2020-05-26)
- Android: Do not use getFrequency method for Android lower than LOLLIPOP (#367 by @ObidosDev) (4957aaa)
5.9.1 (2020-05-24)
5.9.0 (2020-05-18)
- android: Add BSSID WIFI type (#361 by @organom) (b99e1d6)
- android: Add WiFi frequency value (#362 by @kulyk) (6d95244)
5.8.1 (2020-05-11)
5.8.0 (2020-04-22)
- windows: Add C++/WinRT Implementation to support the latest react-native-windows (#349 by @kaiguo) (18e2f20)
5.7.1 (2020-04-14)
- Fix the provided Jest mock so it works with the instructions in the README (a24ebb1), closes #345 #327
5.7.0 (2020-03-30)
- macos: Ensure macOS files are included in the NPM package (#335 by @matt-oakes) (742c79a)
- android: Make the ACCESS_WIFI_STATE permission optional (#328 by @sweggersen) (ba16e0a)
5.6.2 (2020-03-11)
5.6.1 (2020-03-10)
- Ensure the default timeouts are the correct way around (4e3e981)
5.6.0 (2020-03-10)
5.5.1 (2020-02-23)
- Remove use of
Promise.prototype.finally
to prevent possible compatibility issues (#311 by @davidstritzl) (c0e6f62)
5.5.0 (2020-02-12)
5.4.0 (2020-02-12)
- Add reachability request timeout to improve handling of bad network connections (#302 by @davidstritzl) (9eb1531)
5.3.4 (2020-02-12)
- Correct reachability timeouts in default configuration (#301 by @davidstritzl) (f74b8cc)
5.3.3 (2020-01-15)
5.3.2 (2020-01-06)
- tvOS: Fixed a crash with tvOS builds caused by trying to use the ssid method (#283 by @vdmtrv) (a0191e0)
5.3.1 (2020-01-04)
5.3.0 (2020-01-04)
5.2.0 (2019-12-29)
5.1.0 (2019-12-29)
- Android: Add information about whether Wifi is enabled (#255 by @gabrielrra) (1006966)
5.0.2 (2019-12-29)
5.0.1 (2019-12-20)
- Ensure passing no configuration to the hook works correctly (#264 by @lonnylot) (e3fc1b4), closes #262
5.0.0 (2019-12-08)
- Previously deprecated methods have been removed. These methods have been deprecated since this library was extracted from the core of React Native. Most users will not have any issues with migrating if they were not ignoring the previous warnings.
Added a new way to configure the reachability URL that the library uses on iOS to check for an internet connection. The default is still to use the Google Chrome URL, however, you can now customise this URL, test function, and the timeouts that are used.
4.7.0 (2019-12-08)
- Android: Allow using androidXCore together with supportLibVersion (#247 by @euharrison) (37366ee)
- fireOS: Add ability to detect network reachability on FireOS devices (#250 by @fxdemolisher) (5ae653f)
4.6.2 (2019-12-08)
4.6.1 (2019-11-17)
- Remove Android Spotless formatter to avoid issues with resolving plugins (1c2de77), closes #243 #213
4.6.0 (2019-11-03)
4.5.0 (2019-11-03)
- ios: Report IP address and subnet for ethernet (#233 by @gcesarmza) (507b731)
4.4.0 (2019-10-06)
- iOS: Detect Apple TV wired connection and retrieve the Wifi IP address & subnet (#229 by @gcesarmza) (2d2d167)
4.3.3 (2019-10-04)
- Android: Fix build.gradle react-native dependency version (#218 by @friederbluemle) (1bfb425)
4.3.2 (2019-10-04)
4.3.1 (2019-10-03)
4.3.0 (2019-09-30)
4.2.2 (2019-09-19)
4.2.1 (2019-09-07)
4.2.0 (2019-09-03)
4.1.5 (2019-08-17)
4.1.4 (2019-08-06)
4.1.3 (2019-07-21)
4.1.2 (2019-07-19)
4.1.1 (2019-07-15)
- Android: Add a null check for mCellularGeneration to avoid a crash (#143 by @matt-oakes) (097244e)
4.1.0 (2019-07-13)
- Add support for internet reachability detection (#116 by @matt-oakes) (6c03502)
4.0.0 (2019-07-06)
- android: Migrate to Android X (#131 by @thedeepanshujain) (7994bc7)
- android: You are required to only use either the Support Library or AndroidX for your dependencies. If you need to migrate this library back to the support library, or another library forward to AndroidX, then take a look at the Jetifier tool.
3.2.1 (2019-06-01)
- Update iOS deployment target min to avoid a warning (#112 by @mikehardy) (c05df9b)
3.2.0 (2019-05-26)
3.1.3 (2019-05-24)
- types: generates index.d.ts instead of using index.ts directly so skipLibs works correctly (#105) (d733b5b)
3.1.2 (2019-05-24)
3.1.1 (2019-05-24)
3.1.0 (2019-05-18)
3.0.2 (2019-05-18)
3.0.1 (2019-05-17)
- Fix an issue in the Android de-duplication code (de12dd5)
3.0.0 (2019-05-17)
- See the README for full details.