I did not see <uses-permission android:name="android.permission.READ_PHONE_STATE" />
in your Manifest file.
It is required for your application to be able to read that state.
More Related Contents:
- Replace Activity in Manifest.xml
- Sending and Receiving SMS and MMS in Android (pre Kit Kat Android 4.4)
- Android intent filter for a particular file extension?
- How can you get the build/version number of your Android application?
- How to parse the AndroidManifest.xml file inside an .apk package
- Manifest merger failed : Attribute application@appComponentFactory – Androidx
- Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED?
- Why are permissions being automatically added to my AndroidManifest when including Google Play Services library
- How to use custom permissions in Android?
- intent.resolveActivity returns null in API 30
- Register Application class in Manifest?
- versionCode vs versionName in Android Manifest
- Manifest merger failed targeting Android 12 [duplicate]
- broadcast receiver won’t receive camera event
- Android Task Affinity Explanation
- AnalyticsService not registered in the app manifest – error
- Data directory has no read/write permission in Android
- Android open pdf file
- What is the purpose of “android.intent.category.DEFAULT”?
- Get Android .apk file VersionName or VersionCode WITHOUT installing apk
- Could not identify launch Activity: Default Activity not found
- Android error “unable to find explicit activity class”
- Designing Android apps for tablets
- Where can I get a list of more Android permissions? (other than …)
- How can you get the Manifest Version number from the App’s (Layout) XML variables?
- Possible to use multiple authorities with FileProvider?
- Integrate ZXing QR code scanner without installing BarCode Scanner
- How to add network_security_config.xml to manifest in expo app without ejecting
- How to use the new Android M feature of “Text Selection” to be offered from outside of your app?
- Google Analytics blocks Android App