Android/Google play licensing question

Hi

I’ve had my app on the apple store for a while and am about to launch it on Google play. I have just been reading about how to implement the licensing key. 

Will the code that I have to add to config, build, and main.lua cause a problem when I build for the Apple store? Should I create a new copy of the app and stick it in a different folder and only add the Android specific code there, or can the Android code go in the same file that I used to create my iOS build?

thanks,

David

It should co-exist with your apple code just fine.  In your main.lua, you probably need to wrap the licensing code inside of an “if” statement that’s checking the platform to make sure it’s only going to run on Android.

Rob

great, thank you.

It should co-exist with your apple code just fine.  In your main.lua, you probably need to wrap the licensing code inside of an “if” statement that’s checking the platform to make sure it’s only going to run on Android.

Rob

great, thank you.