On the second activity create sub I am trying to use
The problem is that there is no dialog asking for permission and the result is always False.
B4A 8.50, RuntimePpermissions Library 1.10, Android SDK 28. Tested on Andoid 6 phone and Android 8.1
Is there something I miss about this?
B4X:
If perm.Check("PERMISSION_CAMERA") = False Then
Log("Has no camera permission. Asking permission...")
perm.Checkandrequest(perm.PERMISSION_CAMERA)
End If
Sub Activity_PermissionResult(lpermission As String,lresult As Boolean)
Log(lpermission)
Log(lresult)
End Sub
The problem is that there is no dialog asking for permission and the result is always False.
B4A 8.50, RuntimePpermissions Library 1.10, Android SDK 28. Tested on Andoid 6 phone and Android 8.1
Is there something I miss about this?