Google Play Licensing

HI there,

I’ve been attempting to get Google Play licensing to work, and I haven’t had success so far.  I’m curious if anyone has gotten it to work?

Here are some details:

  • I’ve followed the details at http://docs.coronalabs.com/daily/api/library/licensing/index.html.  I’m not using a policy
  • I’ve checked and rechecked that my key is copied into my config.lua file correctly
  • My test account exists and is registered in Google Play.  I set it up a while ago, and I’ve used it succesfully for in-app billing testing
  • The version code in my build.settings matches what’s in Google Play for this apk

Currently, I’ve set my license test response on the Google Play console to be LICENSED.  However, the event table passed to my listener indicates that the verification has failed, and includes the following info (among other things): isError=true, isVerified=false, errorType=configuration, response=Missing permission.

I’m a bit stuck, and curious if anyone has run into the same issue.

Thanks!

  • Andrew

Hey, Andrew, I haven’t implemented this yet, but the “Missing permission” prompted me to check the sample code:  CoronaSDK > SampleCode > Store > Licensing

Do you have “com.android.vending.CHECK_LICENSE” in build.settings, usesPermissions?

Naomi

Indeed I don’t!  I’ll try that and see if that fixes it.  Thanks!

  • Andrew

Resolved!  Thanks Naomi.

Glad to hear it!

Cheers,
Naomi

Cool, I just made the same mistake.  Thanks for the heads up, Naomi!

Hey, Andrew, I haven’t implemented this yet, but the “Missing permission” prompted me to check the sample code:  CoronaSDK > SampleCode > Store > Licensing

Do you have “com.android.vending.CHECK_LICENSE” in build.settings, usesPermissions?

Naomi

Indeed I don’t!  I’ll try that and see if that fixes it.  Thanks!

  • Andrew

Resolved!  Thanks Naomi.

Glad to hear it!

Cheers,
Naomi

Cool, I just made the same mistake.  Thanks for the heads up, Naomi!