-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exception: PlatformException on android.permission.READ_PHONE_NUMBERS #174
Comments
I just noted the Kotlin code was the permission check... this is the invoke permission code...
|
you can just add this to your android manifest file
|
@rashedswen - It is already in the android manifest, all other permissions requested in Android manifest work as expected, this one does not. |
Do you try to setup the callkeep in main or first page of your app I do that and that work will and request permission when the app opens |
Yes, the setup and permission checks all occur once the app opens. |
I have an issue that I cannot get around...
Note that using an Android 10 phone, everything works and VoiP and Video calls can be made...
But when attempting to use an Android 12 phone it always fails with the following exception.
I am calling setup with the following code... note that I have created an additional method invoke within MainActivity.kt to attempt to force the permission request - this does not come back with an error but it also does not put up a request dialog.
in the MainActivity.kt - I have included the following code to invoke permission request on READ_PHONE_NUMBERS...
As it stands, I am unable to use CallKeep to handle calls on a phone above Android 10.
The text was updated successfully, but these errors were encountered: