Hi
Wait for B4XPage_PermissionResult never comes back
Below is the code which I copied from the B4XPages Bluetooth Cat example:
Log("Checking Permissions")
rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION)
Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)
Log("Permission Result = " Result)
In the log I can see the 'Checking Permissions', and, if I haven't already granted permission if does actually request it.
After granting permission it never returns to the 'Wait For' bit so I never see the permissions result message in the log.
It doesn't crash or anything, just sits there...
I do see a peculiar message (below) if I untick the filter but that does not look like it is related.
Checking Permissions
Class androidx.core.content.ContextCompat failed lock verification and will run slower.
Any ideas?
Thanks