This plugin allows you to retrieve ALL cellular information from Android devices if available.
For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.
npm install android-telephony
Since module requires ACCESS_FINE_LOCATION permission, make sure to add it to your app AndroidManifest.xml file:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
If you are using Expo EAS Build, modify your app.json or app.config.js to include:
{
"expo": {
"android": {
"permissions": ["ACCESS_FINE_LOCATION",...]
}
}
}