Xardoz Member Licensed User Longtime User Aug 24, 2018 #1 We recently upgraded from a targeted API of 14 to API 26. This error is being thrown/created when we launch the App Have searched the forums with little luck. Have implemented permissions... rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE) Wait For activity_result(Premission As String, Result As Boolean) If Result Then phonenumberNoDelimeters = CleanPhoneNumber(pid.GetLine1Number) End If
We recently upgraded from a targeted API of 14 to API 26. This error is being thrown/created when we launch the App Have searched the forums with little luck. Have implemented permissions... rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE) Wait For activity_result(Premission As String, Result As Boolean) If Result Then phonenumberNoDelimeters = CleanPhoneNumber(pid.GetLine1Number) End If
S Scantech Well-Known Member Licensed User Longtime User Aug 24, 2018 #3 Add this B4X: Sub Activity_PermissionResult (Permission As String, Result As Boolean) Log(Permission & " " & Result) End Sub Upvote 0
Add this B4X: Sub Activity_PermissionResult (Permission As String, Result As Boolean) Log(Permission & " " & Result) End Sub
DonManfred Expert Licensed User Longtime User Aug 25, 2018 #5 Wait For activity_result(Premission As String, Result As Boolean) Should be wait for activity_permissionresult(...) Upvote 0
Wait For activity_result(Premission As String, Result As Boolean) Should be wait for activity_permissionresult(...)
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2018 #6 1. You are using an Android 2.x theme. 2. You should learn how to see the logs. Upvote 0