Im trying to send an apk with a obb file to the play store in google play console as beta test, but they told me that I have the “Not licensed” issue (screen attached)
When I run my app in debug and development mode everything runs ok, but when I sign the app with my store key and try to run the app I receive an native alert with the message “Not licensed” (screen attached)
Actually my app is in the store and I trying to send an update
I configure my beta testers in the console and the option for these testers is “LICENSED” (screen attached)
Corona Info:
Version 2018.3326 (2018.6.25)
I have the following code to check the license
local function licensingListener(event)
if not event.isVerified then – Not a verified APK downloaded from the Google Play store
logger.warn(“This instance is not verified”)
end
end
local licensing = require(“licensing”)
if licensing.init(“google”) then
licensing.verify(licensingListener)
else
logger.warn(“Licensing could not be init”)
end
I configure my key in the config file and build file
Build settings file settings = { android = { usesPermissions = { "com.android.vending.CHECK\_LICENSE" }, }, } config file application = { license = { google = { key = "MY KEY", }, }, }
the licensing.init function never execute as success
The log prints the following message that I put in my code
logger.warn(“Licensing could not be init”)