Alexey O.
Alexey O.

Reputation: 220

Android 6 android.permission.READ_PHONE_STATE allow on install

I'm using Android 6 with target SDK 23. I need to accept one permission(READ_PHONE_STATE) on install, like it was before target SDK 23, in google store it shows you permission and you accept it, then app will be installed.

I don't want to use a popup. I need to you use target SDK 23 but without popup of permissions. You will say - it's impossible! But, maybe anybody knows how?

P.S. Normally it should be some flag in AndroidManifest or gradle...

P.S.S : Should be like that below

Should be like that

And not like that below :

enter image description here

Upvotes: 0

Views: 2197

Answers (1)

Puneet Kumar
Puneet Kumar

Reputation: 306

if you want that no pop up will be shown or directly setup permissions then you have to do like this:

http://www.howtogeek.com/230683/how-to-manage-app-permissions-on-android-6.0/

Upvotes: 1

Related Questions