[Android] PhoneCallManager not working on API 31+ #19633
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
Using
PhoneCallManager.ShowPhoneCallUI("123456789", "UnoApp142");
throws aSecurityException
when calling on an Android device with API 31+See: https://developer.android.com/reference/android/telephony/TelephonyManager#listen(android.telephony.PhoneStateListener,%20int)
We should be handling the new suggested method in the android docs from API 31 and above. This new method may require a permissions check for READ_PHONE_STATE and possibly others, as defined in the Android docs
UnoApp142.zip
Expected behavior
It should behave like older Android versions:
The text was updated successfully, but these errors were encountered: