My app reads device's phone number, if any, so that user doesn't have to type it manually, which I also hope would deter abuse.
All I need is just the phone number, no more, no less. My app doesn't make or manage phone calls. I make it clear by specifying "READ_PHONE_NUMBERS" permission in both code and manifest.
However the dialog message shown is misleading, not accurate at best, and would discourage users to tap "Allow".
Anyone has any solution for this problem?
TIA
All I need is just the phone number, no more, no less. My app doesn't make or manage phone calls. I make it clear by specifying "READ_PHONE_NUMBERS" permission in both code and manifest.
However the dialog message shown is misleading, not accurate at best, and would discourage users to tap "Allow".
Anyone has any solution for this problem?
TIA
code:
Starter.rp.CheckAndRequest("android.permission.READ_PHONE_NUMBERS")
Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)
If Result Then
LogColor("phone #=" & ph.GetLine1Number, Colors.red)
End If
manifest:
AddPermission(android.permission.READ_PHONE_NUMBERS)
Attachments
Last edited: