Hello,
I tried to use runtime permission for PERMISSION_READ_CONTACTS:
But (on release mode) even when accepting the permission and after, the code after "Wait For" is not happening, <do something> line is not happening...
Does anybody know what is the problem and how to fix it?
Thanks in advance.
I tried to use runtime permission for PERMISSION_READ_CONTACTS:
B4X:
Sub Activity_Create(FirstTime As Boolean)
rp.CheckAndRequest(rp.PERMISSION_READ_CONTACTS)
wait for Activity_PermissionResult (Permission As String, Result As Boolean)
<do something>
End Sub
But (on release mode) even when accepting the permission and after, the code after "Wait For" is not happening, <do something> line is not happening...
Does anybody know what is the problem and how to fix it?
Thanks in advance.