11.0.1 (2023-11-07)
11.0.0 (2023-11-04)
- feat(android)!: specify export mode on BroadcastReceivers, requires compileSdk 33+ (#692) (a5864cc), closes #692
-
- compileSdk minimum is now 33
- windows SDK minimum bumped to 10.0.17763.0 for current react-native-windows
10.0.0 (2023-11-01)
- fix(cancel)!: cancel _checkInternetReachability request on timeout & cancel via AbortController (#678) (4bfd3e2), closes #678 /github.com/react-native-netinfo/react-native-netinfo/issues/439#issue-787487438
- netinfo now requires AbortController, node v16 / edge required it will likely not work on internet explorer from this version onwards
9.5.0 (2023-11-01)
9.4.2 (2023-11-01)
- types: add optional isWifiEnabled boolean to NetInfoUnknownState + NetInfoDisconnectedState (#680) (46c4c71)
9.4.1 (2023-06-29)
9.4.0 (2023-06-29)
9.3.11 (2023-06-29)
9.3.10 (2023-05-05)
9.3.9 (2023-04-06)
9.3.8 (2023-03-29)
9.3.7 (2022-11-28)
9.3.6 (2022-10-26)
9.3.5 (2022-10-15)
9.3.4 (2022-10-05)
9.3.3 (2022-10-02)
9.3.2 (2022-09-25)
9.3.1 (2022-09-18)
9.3.0 (2022-06-28)
9.2.0 (2022-06-28)
9.1.0 (2022-06-24)
- add parameter useNativeReachability to optionally choose non-native reachability test (#609) (9b02cac)
9.0.0 (2022-06-03)
- fix(windows)!: change WindowsTargetPlatformVersion to 10.0 / drop arm32 / drop rnw < 0.63 (#603) (16d6568), closes #603
- needs react-native-windows 0.63+ and MSVC build tools v142+ (Visual Studio 2019+), drop arm32
8.3.1 (2022-05-30)
8.3.0 (2022-04-22)
8.2.0 (2022-03-18)
8.1.0 (2022-03-02)
8.0.0 (2022-02-10)
- fix(CHANGELOG)!: note that v7.1.12 is breaking if you have wifi SSID permission (#574) (99072e0), closes #574
- it's possible this is a breaking change, depending on your app use case. If you relied on iOS SSID information and met Apple's strict criteria for accessing SSID, you need to set the new config value
shouldFetchWiFiSSID
to true. If you set it to true and do not meet the criteria your app may crash due to a memory leak. All versions prior to 7.1.12 would attempt to fetch the information regardless of permission, leak memory, and possibly crash. This change avoids that crash.
7.1.12 (2022-02-09)
BREAKING CHANGE NOTICE - it's possible this is a breaking change, depending on your app use case. If you relied on iOS SSID information and met Apple's strict criteria for accessing SSID, you need to set the new config value shouldFetchWiFiSSID
to true. If you set it to true and do not meet the criteria your app may crash due to a memory leak. All versions prior to 7.1.12 would attempt to fetch the information regardless of permission, leak memory, and possible crash. This change avoids that crash.
7.1.11 (2022-02-08)
7.1.10 (2022-02-07)
7.1.9 (2022-01-26)
7.1.8 (2022-01-25)
7.1.7 (2021-12-20)
7.1.6 (2021-12-13)
7.1.5 (2021-12-09)
7.1.4 (2021-12-07)
7.1.3 (2021-11-29)
7.1.2 (2021-11-17)
7.1.1 (2021-11-17)
7.1.0 (2021-11-17)
7.0.0 (2021-11-16)
- Drop support for react-native-windows 0.61 and lower. Update to RNW 0.62 or higher
6.2.1 (2021-11-15)
6.2.0 (2021-11-13)
6.1.1 (2021-11-13)
6.1.0 (2021-11-07)
6.0.6 (2021-11-04)
- windows, crash: try/catch fetching network profile, new windows example app (#511) (ef3ac76), closes #454
6.0.5 (2021-11-03)
6.0.4 (2021-10-22)
6.0.3 (2021-10-22)
6.0.2 (2021-09-03)
6.0.1 (2021-08-24)
- Ensure warnings are not shown on React Native 0.65 (#487 by @lubomyr) (ac0ed65)
- android: isConnected is incorrect for wifi networks only the app has access to (#443 by @eliaslecomte) (7084771)
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.