cordova-plugin-android-permissions
cordova-plugin-android-permissions copied to clipboard
Call permission always return false
For checking call permission of app I'm using this method
this._androidPermission.checkPermission(this._androidPermission.PERMISSION.CALL_PHONE)
And always it returns false.
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
i am using PERMISSION.ACCESS_FINE_LOCATION and PERMISSION.ACESS_COARSE_LOCATION, and it return false even if i approve that :/
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