Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
7e1c7fb
fix(windows): fix crash in GetCellularGeneration for some LTE network…
aironefr Mar 29, 2023
2c3c041
chore(release): 9.3.8 [skip ci]
semantic-release-bot Mar 29, 2023
a519e59
fix(android): avoid crash on devices without wifi (#662)
g4rb4g3 Apr 6, 2023
78f0428
chore(release): 9.3.9 [skip ci]
semantic-release-bot Apr 6, 2023
60b99f2
fix(web): verify `window` exists before attempting to access navigato…
jspizziri May 5, 2023
9d2e88b
chore(release): 9.3.10 [skip ci]
semantic-release-bot May 5, 2023
bb13143
fix: do not crash on android 11 (#672)
sveinar Jun 29, 2023
980d4ff
chore(release): 9.3.11 [skip ci]
semantic-release-bot Jun 29, 2023
224fdbb
feat(android): add support for React Native 0.73 (#675)
peterlazar1993 Jun 29, 2023
7805b9e
chore(release): 9.4.0 [skip ci]
semantic-release-bot Jun 29, 2023
0c053eb
fix(android): making rn >= 73 support also compatible with rn <= 66 (…
AlexanderEggers Jun 29, 2023
f3a0c2d
chore(release): 9.4.1 [skip ci]
semantic-release-bot Jun 29, 2023
46c4c71
fix(types): add optional isWifiEnabled boolean to NetInfoUnknownState…
tohel17 Nov 1, 2023
fe41ff3
chore(release): 9.4.2 [skip ci]
semantic-release-bot Nov 1, 2023
0cbf067
feat: add optional reachabilityHeaders param to NetInfoConfiguration …
webraptor Nov 1, 2023
bbebadf
chore(release): 9.5.0 [skip ci]
semantic-release-bot Nov 1, 2023
4bfd3e2
fix(cancel)!: cancel _checkInternetReachability request on timeout & …
jcarrag Nov 1, 2023
85228d2
chore(release): 10.0.0 [skip ci]
semantic-release-bot Nov 1, 2023
887131e
chore: migrate test apps to react-native-test-app (#582)
tido64 Nov 4, 2023
a5864cc
feat(android)!: specify export mode on BroadcastReceivers, requires c…
AndyG Nov 4, 2023
76bdb38
chore(release): 11.0.0 [skip ci]
semantic-release-bot Nov 4, 2023
270be4f
fix(types): fix type error on new headers feature (#694)
mikehardy Nov 7, 2023
a513f54
chore(release): 11.0.1 [skip ci]
semantic-release-bot Nov 7, 2023
ca4c586
feat: add useNetInfoInstance - a non singleton-state hook to manage c…
aiden-petersen Nov 8, 2023
86bf605
chore(release): 11.1.0 [skip ci]
semantic-release-bot Nov 8, 2023
0a36296
fix: internetReachability aborts handle cancel correctly (#700)
gizomo Nov 29, 2023
1cd754d
chore(release): 11.1.1 [skip ci]
semantic-release-bot Nov 29, 2023
030887e
feat(web): add support for Tizen and WebOS (#703)
gizomo Dec 5, 2023
edd46de
chore(release): 11.2.0 [skip ci]
semantic-release-bot Dec 5, 2023
d44d5a8
fix: update internetReachability fetch abort (#706)
gizomo Dec 12, 2023
736138c
chore(release): 11.2.1 [skip ci]
semantic-release-bot Dec 12, 2023
30d8931
fixed fetch abort on timedout (#709)
gizomo Dec 21, 2023
65ffc48
feat: add visionOS support (#714)
thiagobrez Feb 14, 2024
6687ea2
chore(release): 11.3.0 [skip ci]
semantic-release-bot Feb 14, 2024
950410b
fix: update nativeInterface default export to support bridgeless mode…
gabrieldonadel Feb 27, 2024
a965795
chore(release): 11.3.1 [skip ci]
semantic-release-bot Feb 27, 2024
2b29c9e
docs(README): change 'you' to 'your' (#724)
Yawan-1 May 11, 2024
6e2c422
fix(types): isConnected / isInternetReachable should be boolean not t…
cleberada May 11, 2024
6cc1bac
chore(release): 11.3.2 [skip ci]
semantic-release-bot May 11, 2024
538623e
fix(android): add invalidate method for rn74+, onCatalystInstanceDest…
mikehardy Sep 12, 2024
394a3b2
chore(release): 11.3.3 [skip ci]
semantic-release-bot Sep 12, 2024
ef79980
feat(android): use node resolver to find react native package in mono…
morganick Sep 12, 2024
060e5e2
chore(release): 11.4.0 [skip ci]
semantic-release-bot Sep 12, 2024
eaed080
fix: ensure one reachability check in-flight at once / proper useEffe…
OlimpiaZurek Sep 20, 2024
77da13a
chore(release): 11.4.1 [skip ci]
semantic-release-bot Sep 20, 2024
c5a93fb
build(deps): bump CI to node20 and current action versions
mikehardy Sep 20, 2024
4e6dd8c
feat: New architecture support for Android and iOS (#655)
j-piasecki Jan 27, 2026
b1ef935
fix(release): update publish workflow and related dependencies (#786)
mikehardy Jan 28, 2026
f8ada1f
fix(release): enable corepack for modern yarn during release
mikehardy Jan 28, 2026
4ed1be1
release: remove NPM_TOKEN from ci.yml for Trusted Publish
mikehardy Jan 31, 2026
74b9fae
chore(release): 11.5.0 [skip ci]
semantic-release-bot Jan 31, 2026
a41dc30
fix(ios): remove requestedInterface param nullability specifier for n…
philipheinser Feb 1, 2026
2b5e5c0
chore(release): 11.5.1 [skip ci]
semantic-release-bot Feb 1, 2026
9a42efe
fix(android): use node resolver to find react-native / helps monorepo…
thespacemanatee Feb 3, 2026
3702e17
chore(release): 11.5.2 [skip ci]
semantic-release-bot Feb 3, 2026
2cab2ac
chore: document that native module load style is used for react-nativ…
mikehardy Feb 5, 2026
dd7a88f
fix(ios)!: use NEHotspotNetwork vs deprecated CNCopyCurrentNetworkInf…
cschder Feb 14, 2026
223d4d9
chore(release): 12.0.0 [skip ci]
semantic-release-bot Feb 14, 2026
5b1f9b0
fix(ios): new wifi config API usage requires NetworkExtension framewo…
mikehardy Feb 14, 2026
d9923d2
chore(release): 12.0.1 [skip ci]
semantic-release-bot Feb 14, 2026
29c14a2
docs(CHANGELOG): note the new entitlement needed for new wifi API
mikehardy Feb 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

module.exports = {
extends: [
'@react-native-community',
// '@react-native', // FIXME: 'Environment key "jest/globals" is unknown'
'plugin:@typescript-eslint/recommended',
'prettier',
],
Expand Down
45 changes: 32 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,44 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn install
- run: yarn test
deploy:
if: github.repository == 'react-native-netinfo/react-native-netinfo' && github.ref == 'refs/heads/master'
permissions:
contents: write # For git operations
id-token: write # < REQUIRED FOR OIDC
if: github.event.repository.fork == false && github.ref == 'refs/heads/master'
needs: test
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Checkout
uses: actions/checkout@v5
with:
node-version: '14'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn ci:publish
fetch-depth: 0
persist-credentials: false
- run: corepack enable
- name: git config
run: |
git config --global user.name 'Semantic Release Bot'
git config --global user.email 'semantic-release-bot@martynus.net'
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
#npm install -g npm@latest
#npm_config_yes=true npx release-it --ci
yarn ci:publish
21 changes: 14 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
ios/.xcode.env.local
project.xcworkspace
example/*/NetInfoExample.xcworkspace
example/*/Pods
example/*/build/


# Android/IntelliJ
Expand All @@ -38,14 +42,12 @@ build/
.gradle
local.properties
*.iml
android/.settings/*
android/.project

# BUCK
buck-out/
\.buckd/
*.hprof
.cxx/
*.keystore
!debug.keystore
android/.settings/*
android/.project

# Editor config
.vscode
Expand All @@ -54,6 +56,7 @@ buck-out/
coverage

.tmp
example/dist/
example/ios/Pods/
example/android-bundle.js
example/ios-bundle.js
Expand All @@ -68,4 +71,8 @@ lib/
# npm package lock file
package-lock.json

msbuild.binlog
msbuild.binlog

.xcode.env

.yarn/
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
208 changes: 208 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,211 @@
## [12.0.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v12.0.0...v12.0.1) (2026-02-14)


### Bug Fixes

* **ios:** new wifi config API usage requires NetworkExtension framework ([#793](https://github.com/react-native-netinfo/react-native-netinfo/issues/793)) ([5b1f9b0](https://github.com/react-native-netinfo/react-native-netinfo/commit/5b1f9b074e1d0fd0fe9767a7486df7d94f7218dd))

# [12.0.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.5.2...v12.0.0) (2026-02-14)


* fix(ios)!: use NEHotspotNetwork vs deprecated CNCopyCurrentNetworkInfo for wifi info, iOS14+ required ([#791](https://github.com/react-native-netinfo/react-native-netinfo/issues/791)) ([dd7a88f](https://github.com/react-native-netinfo/react-native-netinfo/commit/dd7a88fd64c978cc04cf10e9703326d98163e234))


### BREAKING CHANGES

* iOS 14+ is new minimum, that's react-native 0.76+

The first react-native version to require iOS 14+ was react-native 0.76 so that is
pretty old but this still may be a breaking change for some people so we are noting it.

Note from Apple Developer Documentation:

"This method also requires the app to have the Access Wi-Fi Information Entitlement, and produces nil if the app lacks this entitlement."

See: https://developer.apple.com/documentation/networkextension/nehotspotnetwork/fetchcurrent(completionhandler:)

## [11.5.2](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.5.1...v11.5.2) (2026-02-03)


### Bug Fixes

* **android:** use node resolver to find react-native / helps monorepo builds ([#789](https://github.com/react-native-netinfo/react-native-netinfo/issues/789)) ([9a42efe](https://github.com/react-native-netinfo/react-native-netinfo/commit/9a42efe0065432eab8d9e7e794ca101afac5b683))

## [11.5.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.5.0...v11.5.1) (2026-02-01)


### Bug Fixes

* **ios:** remove requestedInterface param nullability specifier for new arch compat ([#788](https://github.com/react-native-netinfo/react-native-netinfo/issues/788)) ([a41dc30](https://github.com/react-native-netinfo/react-native-netinfo/commit/a41dc306153584c1d7eed804311d4d09fe0a37d7))

# [11.5.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.4.1...v11.5.0) (2026-01-31)


### Bug Fixes

* **release:** enable corepack for modern yarn during release ([f8ada1f](https://github.com/react-native-netinfo/react-native-netinfo/commit/f8ada1f8da3c616104bcf8081055f38ddaf6b99f))
* **release:** update publish workflow and related dependencies ([#786](https://github.com/react-native-netinfo/react-native-netinfo/issues/786)) ([b1ef935](https://github.com/react-native-netinfo/react-native-netinfo/commit/b1ef935c3afc8e8248d4d2e8546d31e962e4710a))


### Features

* New architecture support for Android and iOS ([#655](https://github.com/react-native-netinfo/react-native-netinfo/issues/655)) ([4e6dd8c](https://github.com/react-native-netinfo/react-native-netinfo/commit/4e6dd8c54fa2c4dc7e2146f9839aa3fb356f889e))

## [11.4.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.4.0...v11.4.1) (2024-09-20)


### Bug Fixes

* ensure one reachability check in-flight at once / proper useEffect listener cleanup ([#732](https://github.com/react-native-netinfo/react-native-netinfo/issues/732)) ([eaed080](https://github.com/react-native-netinfo/react-native-netinfo/commit/eaed080))

# [11.4.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.3.3...v11.4.0) (2024-09-12)


### Features

* **android:** use node resolver to find react native package in monorepos ([#735](https://github.com/react-native-netinfo/react-native-netinfo/issues/735)) ([ef79980](https://github.com/react-native-netinfo/react-native-netinfo/commit/ef79980))

## [11.3.3](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.3.2...v11.3.3) (2024-09-12)


### Bug Fixes

* **android:** add invalidate method for rn74+, onCatalystInstanceDestroy delegates ([#737](https://github.com/react-native-netinfo/react-native-netinfo/issues/737)) ([538623e](https://github.com/react-native-netinfo/react-native-netinfo/commit/538623e))

## [11.3.2](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.3.1...v11.3.2) (2024-05-11)


### Bug Fixes

* **types:** isConnected / isInternetReachable should be boolean not true ([#721](https://github.com/react-native-netinfo/react-native-netinfo/issues/721)) ([6e2c422](https://github.com/react-native-netinfo/react-native-netinfo/commit/6e2c422))

## [11.3.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.3.0...v11.3.1) (2024-02-27)


### Bug Fixes

* update nativeInterface default export to support bridgeless mode ([#717](https://github.com/react-native-netinfo/react-native-netinfo/issues/717)) ([950410b](https://github.com/react-native-netinfo/react-native-netinfo/commit/950410b))

# [11.3.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.2.1...v11.3.0) (2024-02-14)


### Features

* add visionOS support ([#714](https://github.com/react-native-netinfo/react-native-netinfo/issues/714)) ([65ffc48](https://github.com/react-native-netinfo/react-native-netinfo/commit/65ffc48))

## [11.2.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.2.0...v11.2.1) (2023-12-12)


### Bug Fixes

* update internetReachability fetch abort ([#706](https://github.com/react-native-netinfo/react-native-netinfo/issues/706)) ([d44d5a8](https://github.com/react-native-netinfo/react-native-netinfo/commit/d44d5a8))

# [11.2.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.1.1...v11.2.0) (2023-12-05)


### Features

* **web:** add support for Tizen and WebOS ([#703](https://github.com/react-native-netinfo/react-native-netinfo/issues/703)) ([030887e](https://github.com/react-native-netinfo/react-native-netinfo/commit/030887e))

## [11.1.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.1.0...v11.1.1) (2023-11-29)


### Bug Fixes

* internetReachability aborts handle cancel correctly ([#700](https://github.com/react-native-netinfo/react-native-netinfo/issues/700)) ([0a36296](https://github.com/react-native-netinfo/react-native-netinfo/commit/0a36296))

# [11.1.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.0.1...v11.1.0) (2023-11-08)


### Features

* add useNetInfoInstance - a non singleton-state hook to manage configs / events independently ([#687](https://github.com/react-native-netinfo/react-native-netinfo/issues/687)) ([ca4c586](https://github.com/react-native-netinfo/react-native-netinfo/commit/ca4c586))

## [11.0.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v11.0.0...v11.0.1) (2023-11-07)


### Bug Fixes

* **types:** fix type error on new headers feature ([#694](https://github.com/react-native-netinfo/react-native-netinfo/issues/694)) ([270be4f](https://github.com/react-native-netinfo/react-native-netinfo/commit/270be4f))

# [11.0.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v10.0.0...v11.0.0) (2023-11-04)


* feat(android)!: specify export mode on BroadcastReceivers, requires compileSdk 33+ (#692) ([a5864cc](https://github.com/react-native-netinfo/react-native-netinfo/commit/a5864cc)), closes [#692](https://github.com/react-native-netinfo/react-native-netinfo/issues/692)


### BREAKING CHANGES

* - compileSdk minimum is now 33
- windows SDK minimum bumped to 10.0.17763.0 for current react-native-windows

# [10.0.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.5.0...v10.0.0) (2023-11-01)


* fix(cancel)!: cancel _checkInternetReachability request on timeout & cancel via AbortController (#678) ([4bfd3e2](https://github.com/react-native-netinfo/react-native-netinfo/commit/4bfd3e2)), closes [#678](https://github.com/react-native-netinfo/react-native-netinfo/issues/678) [/github.com/react-native-netinfo/react-native-netinfo/issues/439#issue-787487438](https://github.com//github.com/react-native-netinfo/react-native-netinfo/issues/439/issues/issue-787487438)


### BREAKING CHANGES

* netinfo now requires AbortController, node v16 / edge required
it will likely not work on internet explorer from this version onwards

# [9.5.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.4.2...v9.5.0) (2023-11-01)


### Features

* add optional reachabilityHeaders param to NetInfoConfiguration ([#673](https://github.com/react-native-netinfo/react-native-netinfo/issues/673)) ([0cbf067](https://github.com/react-native-netinfo/react-native-netinfo/commit/0cbf067))

## [9.4.2](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.4.1...v9.4.2) (2023-11-01)


### Bug Fixes

* **types:** add optional isWifiEnabled boolean to NetInfoUnknownState + NetInfoDisconnectedState ([#680](https://github.com/react-native-netinfo/react-native-netinfo/issues/680)) ([46c4c71](https://github.com/react-native-netinfo/react-native-netinfo/commit/46c4c71))

## [9.4.1](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.4.0...v9.4.1) (2023-06-29)


### Bug Fixes

* **android:** making rn >= 73 support also compatible with rn <= 66 ([#676](https://github.com/react-native-netinfo/react-native-netinfo/issues/676)) ([0c053eb](https://github.com/react-native-netinfo/react-native-netinfo/commit/0c053eb))

# [9.4.0](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.3.11...v9.4.0) (2023-06-29)


### Features

* **android:** add support for React Native 0.73 ([#675](https://github.com/react-native-netinfo/react-native-netinfo/issues/675)) ([224fdbb](https://github.com/react-native-netinfo/react-native-netinfo/commit/224fdbb))

## [9.3.11](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.3.10...v9.3.11) (2023-06-29)


### Bug Fixes

* do not crash on android 11 ([#672](https://github.com/react-native-netinfo/react-native-netinfo/issues/672)) ([bb13143](https://github.com/react-native-netinfo/react-native-netinfo/commit/bb13143))

## [9.3.10](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.3.9...v9.3.10) (2023-05-05)


### Bug Fixes

* **web:** verify `window` exists before attempting to access navigator ([#666](https://github.com/react-native-netinfo/react-native-netinfo/issues/666)) ([60b99f2](https://github.com/react-native-netinfo/react-native-netinfo/commit/60b99f2))

## [9.3.9](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.3.8...v9.3.9) (2023-04-06)


### Bug Fixes

* **android:** avoid crash on devices without wifi ([#662](https://github.com/react-native-netinfo/react-native-netinfo/issues/662)) ([a519e59](https://github.com/react-native-netinfo/react-native-netinfo/commit/a519e59))

## [9.3.8](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.3.7...v9.3.8) (2023-03-29)


### Bug Fixes

* **windows:** fix crash in GetCellularGeneration for some LTE network adapters ([#660](https://github.com/react-native-netinfo/react-native-netinfo/issues/660)) ([7e1c7fb](https://github.com/react-native-netinfo/react-native-netinfo/commit/7e1c7fb))

## [9.3.7](https://github.com/react-native-netinfo/react-native-netinfo/compare/v9.3.6...v9.3.7) (2022-11-28)


Expand Down
23 changes: 19 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,44 @@
# Contributing to React Native NetInfo

## Development Process

All work on React Native NetInfo happens directly on GitHub. Contributors send pull requests which go through a review process.

> **Working on your first pull request?** You can learn how from this *free* series: [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).

1. Fork the repo and create your branch from `master` (a guide on [how to fork a repository](https://help.github.com/articles/fork-a-repo/)).
2. Run `yarn` or `npm install` to install all required dependencies.
1. For Apple-related changes, you also need to install the Pods - `cd example/ios && pod install && cd ../macos && pod install`
2. For windows-related changes TBD
3. Now you are ready to make your changes!

## Tests & Verifications

Currently we use `flow` for typechecking, `eslint` with `prettier` for linting and formatting the code, and `jest` for unit testing. All of these are run on CircleCI for all opened pull requests, but you should use them locally when making changes.

* `yarn test`: Run all tests and validations.
* `yarn validate:eslint`: Run `eslint`.
* `yarn validate:eslint --fix`: Run `eslint` and automatically fix issues. This is useful for correcting code formatting.
* `yarn validate:typescript`: Run `typescript` typechecking.
* `yarn test:jest`: Run unit tests with `jest`.
* `yarn validate:eslint`: Run `eslint`.
* `yarn validate:eslint --fix`: Run `eslint` and automatically fix issues. This is useful for correcting code formatting.
* `yarn validate:typescript`: Run `typescript` typechecking.
* `yarn test:jest`: Run unit tests with `jest`.
* You should verify that the example app demonstrates correct functionality. If you added a feature, also add a demonstration of the new feature
* `yarn start:android` - run the example app in android to demonstrate functionality
* `yarn start:ios` - run the example app in ios to demonstrate functionality
* `yarn start:macos` - run the example app in macos to demonstrate functionality
* `yarn start:windows` - run the example app in windows to demonstrate functionality
* `yarn start:web` - run the example web app on <http://localhost:3000> to demonstrate functionality (currently requires Node v16, v18+ is not working)
* `yarn test:e2e:macos`: Run the end-to-end tests for macOS.

## Sending a pull request

When you're sending a pull request:

* Prefer small pull requests focused on one change.
* Verify that all tests and validations are passing.
* Follow the pull request template when opening a pull request.

## Commit message convention

We prefix our commit messages with one of the following to signify the kind of change:

* **build**: Changes that affect the build system or external dependencies.
Expand All @@ -40,10 +52,13 @@ We prefix our commit messages with one of the following to signify the kind of c
* **test**: Adding missing tests or correcting existing tests.

## Release process

We use [Semantic Release](http://semantic-release.org) to automatically release new versions of the library when changes are merged into master. Using the commit message convention described above, it will detect if we need to release a patch, minor, or major version of the library.

## Reporting issues

You can report issues on our [bug tracker](https://github.com/react-native-community/react-native-netinfo/issues). Please search for existing issues and follow the issue template when opening an issue.

## License

By contributing to React Native NetInfo, you agree that your contributions will be licensed under the **MIT** license.
Loading