Using the tutorial here, the following works in that I get the dialog box about the app not being purchased. Also, adding the drm test account and rerunning the code, the dialog is not shown. So all good.
However, the Wait For never returns (the "Not purchased" is not logged) and the Logs displays:
I'm testing on a real device, in both Debug and Release modes.
B4X:
Wait For (hms.CheckDRM(Main.DRM_ID, Main.DRM_KEY)) Complete (Success As Boolean)
If Success = False Then
Log("Not purchased")
'ExitApplication
End If
However, the Wait For never returns (the "Not purchased" is not logged) and the Logs displays:
Ignoring event: drmcallback_event
I'm testing on a real device, in both Debug and Release modes.