Skip to content

[Android] PhoneCallManager not working on API 31+ #19633

Open
@kazo0

Description

@kazo0

Current behavior

Using PhoneCallManager.ShowPhoneCallUI("123456789", "UnoApp142"); throws a SecurityException 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:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions