Android Question RuntimePermissions and InitializeWithPhoneState

fbritop

Active Member
Licensed User
Longtime User
I'm not clear which one or if both of these RuntimePermissions should I use for Phone Events InitializeWithPhoneState, in order to raise an event (eventName_PhoneStateChanged) when I receive a call?

Thanks
FBP
 

DonManfred

Expert
Licensed User
Longtime User
android.permission.READ_PHONE_STATE
 
Upvote 0

fbritop

Active Member
Licensed User
Longtime User
Thanks,
If I choose PERMISSION_CALL_PHONE in order to kill the call, can PERMISSION_CALL_PHONE also raise the phoneEvent on an incoming call?
 
Upvote 0
Top