Every once and a while my app will display the message I have in the DontAllow sub that the app isn't licensed. I removed the SetVariableAndValue but still having the problem. What's strange is that the message pops up after the app launches and after moving between screens and it doesn't happen every time. My setup is pretty basic. Anyone else having this problem?
B4X:
If FirstTime Then
' check license
Dim lc As LicenseChecker
Dim pID As PhoneId
lc.Initialize("lc",pID.GetDeviceId,publickey,"kqoefcjfgh".GetBytes("UTF8"))
lc.CheckAccess
.
.
.
End If
Edit: Forgot to add that my License Test Response is set to LICENSED
If you didn't upload the apk, the right response happens only if you are using you main market account. Anyway the problem seems to appears only
in resume(), so I think something could be wrong with the cache. But I'm not an expert and I've got a lot of problems (unsolved) with Licence too.