google play activate / publish

rfresh

Well-Known Member
Licensed User
Longtime User
I'm using the app licensing code from Erel.

I've uploaded my app to google play but need to test the licensing code in my app before I publish it. Do I have to Activate it first in google play? I see there is an activate link and a delete link for the app.

How do I upload a new app version? I don't see an update link/button. How are you published developers doing updates?
 

rfresh

Well-Known Member
Licensed User
Longtime User
I've added the lic code but when I install my app using a USB cable to my device, I get an error "Runtime Exception: NoSuchFieldException: _ptaf_xxx_test_1" Continue? I've declared this var so I don't know why it's complaining.


B4X:
Dim lc As LicenseChecker
Dim pid As PhoneId
Dim pTaf_xxx_test_1 As String
lc.Initialize("lc", pid.GetDeviceId, publicKey, "xxx1011x".GetBytes("UTF8"))
lc.SetVariableAndValue("pTaf_xxx_test_1", "xxx1011xxxx")
lc.CheckAccess
Msgbox(pid.GetDeviceId,"GetDeviceId License")
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
No I did not have it there. Thanks.

So, the idea here with the lc.SetVariableAndValue() variable is to check its value somewhere to make sure the var equals its intended value? And if not close the app, perhaps with a message?
 
Upvote 0
Top