| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 26-Sep-2023 | - | ||||
| android/ | H | 26-Sep-2023 | - | 518 | 407 | |
| build/ | H | 26-Sep-2023 | - | 650 | 188 | |
| ios/ | H | 26-Sep-2023 | - | 148 | 119 | |
| plugin/ | H | 26-Sep-2023 | - | 41 | 32 | |
| src/ | H | 26-Sep-2023 | - | 422 | 158 | |
| .eslintrc.js | H A D | 26-Sep-2023 | 103 | 3 | 1 | |
| .npmignore | H A D | 26-Sep-2023 | 183 | 12 | 8 | |
| CHANGELOG.md | H A D | 26-Sep-2023 | 5.6 KiB | 159 | 82 | |
| README.md | H A D | 26-Sep-2023 | 1.7 KiB | 43 | 28 | |
| app.plugin.js | H A D | 26-Sep-2023 | 57 | 2 | 1 | |
| babel.config.js | H A D | 26-Sep-2023 | 104 | 3 | 1 | |
| expo-module.config.json | H A D | 26-Sep-2023 | 218 | 11 | 10 | |
| package.json | H A D | 26-Sep-2023 | 1,004 | 40 | 39 | |
| tsconfig.json | H A D | 26-Sep-2023 | 217 | 10 | 9 |
README.md
1<p> 2 <a href="https://docs.expo.dev/versions/latest/sdk/cellular/"> 3 <img 4 src="../../.github/resources/expo-cellular.svg" 5 alt="expo-cellular" 6 height="64" /> 7 </a> 8</p> 9 10Information about the user’s cellular service provider, such as its unique identifier, cellular connection type and whether it allows VoIP calls on its network. 11 12# API documentation 13 14- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/cellular.mdx) 15- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/cellular/) 16 17# Installation in managed Expo projects 18 19For [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/cellular/). 20 21# Installation in bare React Native projects 22 23For 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. 24 25### Add the package to your npm dependencies 26 27``` 28npx expo install expo-cellular 29``` 30 31### Configure for Android 32 33This 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. 34 35```xml 36<!-- Added permissions --> 37<uses-permission android:name="android.permission.READ_PHONE_STATE" /> 38``` 39 40# Contributing 41 42Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing). 43