Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot Resolve Symbol Manifest.permission.READ_PHONE_STATE

I am implementing runtime permission request for Marshmallow devices. I have set my build and compile sdk to API 23. Still Manifest.permission.READ_PHONE_STATE is not recognizable

like image 679
Aditya Borde Avatar asked Mar 23 '16 06:03

Aditya Borde


People also ask

What does Read_phone_state permission do?

Allows read only access to phone state, including the phone number of the device, current cellular network information, the status of any ongoing calls, and a list of any PhoneAccounts registered on the device.

What does android permission Use_full_screen_intent mean?

Apps that target Android 10 or higher and use notifications with fullscreen intents must request the USE_FULL_SCREEN_INTENT permission in their app's manifest file. This is a normal permission, so the system automatically grants it to the requesting app.

What is android permission System_alert_window?

A flutter plugin to show Truecaller like overlay window, over all other apps along with callback events. Android Go or Android 11 & above, this plugin shows notification bubble, in other android versions, it shows an overlay window.


1 Answers

I had imported wrong package, the right package is

android.Manifest

like image 199
Aditya Borde Avatar answered Oct 02 '22 00:10

Aditya Borde