# expo-network

> Provides useful information about the device's network such as its IP address, MAC address, and airplane mode status

Latest version **58.0.3** (published 2026-10-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install expo-network
pnpm add expo-network
yarn add expo-network
bun add expo-network
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 58.0.3 |
| Published | 2026-10-01 |
| First published | 2019-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 91.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 52631 |
| Author | 650 Industries, Inc. |
| Maintainers | ide, brentvatne, expoadmin, exponent, bycedric, kudochien, alanhughes, tsapeta, expo-bot, philpl, ccheever, szdziedzic, wschurman |
| Keywords | expo, expo-network, react-native |

## Links

- npm: https://www.npmjs.com/package/expo-network
- Repository: https://github.com/expo/expo
- Homepage: https://docs.expo.dev/versions/latest/sdk/network/
- Issues: https://github.com/expo/expo/issues
- npm.io page: https://npm.io/package/expo-network

## Recent versions

- 58.0.3 (latest) — 2026-10-01
- 57.0.2 (sdk-57) — 2026-09-11
- 58.0.0-canary-20260909-ea7a89a (canary) — 2026-09-09
- 55.0.18 (sdk-55) — 2026-08-25
- 56.0.5-canary-20260701-9100865 (canary-sdk-56) — 2026-07-01
- 55.0.9-canary-20260429-a5e59cf (canary-sdk-55) — 2026-04-29
- 6.0.1 (sdk-51) — 2024-04-23
- 5.8.0 (sdk-50) — 2023-11-14
- 58.0.2 — 2026-09-29
- 58.0.1 — 2026-09-21
- 58.0.0 — 2026-09-10
- 58.0.0-canary-20260908-e343e6e — 2026-09-08
- 58.0.0-canary-20260902-26df09e — 2026-09-02
- 58.0.0-canary-20260901-2164f24 — 2026-09-02
- 55.0.17 — 2026-08-17
- … 232 more at https://npm.io/package/expo-network/versions

## README

<p>
  <a href="https://docs.expo.dev/versions/latest/sdk/network/">
    <img
      src="../../.github/resources/expo-network.svg"
      alt="expo-network"
      height="64" />
  </a>
</p>
Gets device's network information such as ip address, mac address and check for airplane mode.

See [Expo Network docs](https://docs.expo.dev/versions/latest/sdk/network/) for documentation of this universal module's API.

# API documentation

- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/network/)
- [Documentation for the main branch](https://docs.expo.dev/versions/unversioned/sdk/network/)

# Installation in managed Expo projects

For [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/).

# Installation in bare React Native projects

For 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.

### Add the package to your npm dependencies

```
npx expo install expo-network
```

### Configure for Android

This module requires permissions to access the network and Wi-Fi state. The `ACCESS_NETWORK_STATE` and `ACCESS_WIFI_STATE` permissions are added automatically.

```xml
<!-- Added permissions -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
```

# Contributing

Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).

---
_Source: https://npm.io/package/expo-network · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
