Android Question License Librery

Sberla

Active Member
Licensed User
Longtime User
hi I'm using the library as an example Licensing 1.10 after deploying my app, the application is opened without too much trouble.

I have released a second version for fix bugs, When I released the second version of the app would not open for problem the license. I put the same code of the first version, but not works.

I wanted to know if anyone had experienced the same problem, thanks.
 

Sberla

Active Member
Licensed User
Longtime User
after the published version for 2, Those who are downloading to "google play" tells me that a license is missing. And the program closes.

Here's the code:

Dim publicKey As String
publicKey = "my_key"
Dim test_1 As String

Sub lc_Allow
Log("Allow")
End Sub

Sub lc_DontAllow
Log("DontAllow")
ToastMessageShow("Closing application.", True)
Activity.Finish
End Sub

Sub lc_Error (ErrorCode As String)
Log("error: " & ErrorCode)
ToastMessageShow("Closing application.", True)
Activity.Finish
End Sub

Sub Activity_Create(FirstTime As Boolean)
Dim lc As LicenseChecker
Dim p As PhoneId
lc.Initialize("lc", p.GetDeviceId, publicKey, "kljdflkf".GetBytes("UTF8"))
lc.SetVariableAndValue("test_1", "some secret value")
lc.CheckAccess
End sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…