This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo Network
A library that provides access to the device's network such as its IP address, MAC address, and airplane mode status.
Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~56.0.5
expo-network provides useful information about the device's network such as its IP address, MAC address, and airplane mode status.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Configuration
On Android, this module requires permissions to access the network and Wi-Fi state. The permissions ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE are added automatically.
API
import * as Network from 'expo-network';
No API data file found, sorry!