[Bug] - Request permission for WRITE_CALL_LOG always returns PermanentlyDenied
TurKurT656 opened this issue · 1 comments
TurKurT656 commented
Description
Im trying to request for permission WRITE_CALL_LOG with this code:
val request = permissionsBuilder(Manifest.permission.WRITE_CALL_LOG).build()
request.liveData().observe(this) { result ->
if (result.allGranted()) {
deleteSelections()
} else {
showToast()
}
}
request.send()
But it doesn't show me the permission dialog and returns PermanentlyDenied even in the first install.
KPermissions version:
3.2.1
API level:
29
How to reproduce it:
Request the permission with above code.
TurKurT656 commented
I figured it out. I didn't add it to AndroidManifest.xml
. My bad