Name Date Size #Lines LOC

..26-Sep-2023-

android/H26-Sep-2023-538419

build/H26-Sep-2023-27094

ios/H26-Sep-2023-172141

src/H26-Sep-2023-16560

.eslintrc.jsH A D26-Sep-2023103 31

.npmignoreH A D26-Sep-2023183 128

CHANGELOG.mdH A D26-Sep-20234.7 KiB14975

README.mdH A D26-Sep-20231.7 KiB4530

babel.config.jsH A D26-Sep-2023104 31

expo-module.config.jsonH A D26-Sep-2023194 1110

package.jsonH A D26-Sep-20231 KiB4039

tsconfig.jsonH A D26-Sep-2023217 109

README.md

1<p>
2  <a href="https://docs.expo.dev/versions/latest/sdk/network/">
3    <img
4      src="../../.github/resources/expo-network.svg"
5      alt="expo-network"
6      height="64" />
7  </a>
8</p>
9Gets device's network information such as ip address, mac address and check for airplane mode.
10
11See [Expo Network docs](https://docs.expo.dev/versions/latest/sdk/network/) for documentation of this universal module's API.
12
13# API documentation
14
15- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/network.mdx)
16- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/network/)
17
18# Installation in managed Expo projects
19
20For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/network/).
21
22# Installation in bare React Native projects
23
24For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
25
26### Add the package to your npm dependencies
27
28```
29npx expo install expo-network
30```
31
32### Configure for Android
33
34This module requires permissions to access the network and Wi-Fi state. The `ACCESS_NETWORK_STATE` and `ACCESS_WIFI_STATE` permissions are added automatically.
35
36```xml
37<!-- Added permissions -->
38<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
39<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
40```
41
42# Contributing
43
44Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).
45