Information about the user’s cellular service provider, such as its unique identifier, cellular connection type and whether it allows VoIP calls on its network.
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
npx expo install expo-cellular
This package requires the android.permission.READ_PHONE_STATE
be added to your AndroidManifest.xml
, this is used for TelephonyManager
on Android. We do not require the more risky READ_PRIVILEGED_PHONE_STATE
permission.
<!-- Added permissions -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
Contributions are very welcome! Please refer to guidelines described in the contributing guide.