Hi All
RuntimePermissions.CheckAndRequest is not displaying a dialog and always returns false!
Testing on a device with SDK version 25.
I thought that this should display a dialogue the first time it is called for an app and then retain the users choice for subsequent runs but I never saw a dialogue.
Pretty sure it used to work?
Thanks
RuntimePermissions.CheckAndRequest is not displaying a dialog and always returns false!
B4X:
If phone.SdkVersion >= 24 Then
Dim rp As RuntimePermissions
rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
Wait For Activity_PermissionResult (Permission As String, rpResult As Boolean)
If Not(rpResult) Then
'no permission
Msgbox("Unable to access device storage.", "Warning")
Return False
End If
End If
Testing on a device with SDK version 25.
I thought that this should display a dialogue the first time it is called for an app and then retain the users choice for subsequent runs but I never saw a dialogue.
Pretty sure it used to work?
Thanks