Availability Of Adding Google Play License Key In Corona Apps

When will the feature to embed the Google play license key be avaliable in corona. I have searched all the prevoius forum topics but none gave me the answer. Is it already implemented? if yes, then please let me know the build and how to do it

I want release a free app, do I really need to add the google play’s “Base64-encoded RSA public key” in the app.

Please let me know

Hi there,

Check at the bottom of this blog post, under the section  'Google’s New Licensing Process’

http://www.coronalabs.com/blog/2013/03/26/androidizing-your-mobile-app/

For a free app, I don’t know if its really worth preventing it from being pirated. I have left it in my free app however, purely to capture analytics. 

Thank You sooooooooo much. I was breaking my head on this for past three hours :slight_smile:

There is another problem, I had full working apk  which I had tested in a phone. But post adding the License as mentioned in the above blog, on simulator I get two warning messages saying “The ‘licensing’ provider google is not available on simulator” and “The ‘licensing’ library is not available on this platform”, and everything was fine. I again built a final test apk file and tested on my phone but the app is not even opening.

Can anyone please let me know the solution for this

Hi there,

The licensing feature only works on actual devices, not in the Corona Simulator.  So that’s why you’re seeing those warning messages in the simulator.

As for why the app isn’t running when you put it on your phone, have you looked at the terminal output to see if there are any error messages?  You can see it by tethering your device to your computer and running adb logcat.  Put print messages in your licensing callback function, and see if those print messages show up in the log to indicate whether the licensing check worked or not.

  • Andrew

i am facing this problem please suggest what should i do

Corona Simulator[428:903] Runtime error

    module ‘licensing’ not found:resource (licensing.lu) does not exist in archive

    no field package.preload[‘licensing’]

    no file ‘/Users/macoo8/Desktop/MyApp/licensing.lua’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/licensing.lua’

    no file ‘./licensing.dylib’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/licensing.dylib’

What Corona build number are you using?

Hi there,

Check at the bottom of this blog post, under the section  'Google’s New Licensing Process’

http://www.coronalabs.com/blog/2013/03/26/androidizing-your-mobile-app/

For a free app, I don’t know if its really worth preventing it from being pirated. I have left it in my free app however, purely to capture analytics. 

Thank You sooooooooo much. I was breaking my head on this for past three hours :slight_smile:

There is another problem, I had full working apk  which I had tested in a phone. But post adding the License as mentioned in the above blog, on simulator I get two warning messages saying “The ‘licensing’ provider google is not available on simulator” and “The ‘licensing’ library is not available on this platform”, and everything was fine. I again built a final test apk file and tested on my phone but the app is not even opening.

Can anyone please let me know the solution for this

Hi there,

The licensing feature only works on actual devices, not in the Corona Simulator.  So that’s why you’re seeing those warning messages in the simulator.

As for why the app isn’t running when you put it on your phone, have you looked at the terminal output to see if there are any error messages?  You can see it by tethering your device to your computer and running adb logcat.  Put print messages in your licensing callback function, and see if those print messages show up in the log to indicate whether the licensing check worked or not.

  • Andrew

i am facing this problem please suggest what should i do

Corona Simulator[428:903] Runtime error

    module ‘licensing’ not found:resource (licensing.lu) does not exist in archive

    no field package.preload[‘licensing’]

    no file ‘/Users/macoo8/Desktop/MyApp/licensing.lua’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/licensing.lua’

    no file ‘./licensing.dylib’

    no file ‘/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/licensing.dylib’

What Corona build number are you using?