cordova-plugin-android-permissions icon indicating copy to clipboard operation
cordova-plugin-android-permissions copied to clipboard

Call permission always return false

Open rhanesoghlyan opened this issue 6 years ago • 3 comments
trafficstars

For checking call permission of app I'm using this method this._androidPermission.checkPermission(this._androidPermission.PERMISSION.CALL_PHONE)

And always it returns false.

rhanesoghlyan avatar Mar 07 '19 11:03 rhanesoghlyan

Are you using Android 9 (Oreo)? I noticed this issue after updating Android. Not all permissions are broken here, e.g. the camera permission works for me.

Edit: My issue is caused by 'PROTECTION_NORMAL'-permissions, that musn't be granted by the user. Unfortunately the CALL_PHONE permission is not one of them.

You can read more here: https://developer.android.com/guide/topics/permissions/overview#normal-dangerous

AdvanTex avatar Mar 11 '19 15:03 AdvanTex

i am using PERMISSION.ACCESS_FINE_LOCATION and PERMISSION.ACESS_COARSE_LOCATION, and it return false even if i approve that :/

edilson14 avatar Sep 05 '19 13:09 edilson14

Hello,

I'm trying to request for permission READ_CALL_LOG and it doesn't work, always return false. @rhanesoghlyan did you find any method to solve your issue?

I need this permission to access the phone number of incoming calls because, without READ_CALL_LOG permission the number is empty in Android 9. However requesting READ_PHONE_STATE it's working fine...

thanks

mtnskb avatar Oct 22 '19 15:10 mtnskb