Cant get app approved when implementing Google Licence Key

Hey all!

So i have been trying to get my app on Google play without any luck!

Have been trying to get the google licensing guide from, http://www.develephant.net/using-google-licensing-to-protect-your-corona-sdk-app to work but cant seem to get it up and running. 

I will post the code i have in my build- and main-lua files.

Config.lua

local aspectRatio = display.pixelHeight / display.pixelWidth application = { &nbsp; &nbsp;license = { google = &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; key = "Removed the code in this post....", &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp;}, &nbsp; &nbsp;content = { &nbsp; &nbsp; &nbsp; width = aspectRatio \> 1.5 and 320 or math.ceil( 480 / aspectRatio ), &nbsp; &nbsp; &nbsp; height = aspectRatio \< 1.5 and 480 or math.ceil( 320 \* aspectRatio ), &nbsp; &nbsp; &nbsp; scale = "letterBox", &nbsp; &nbsp; &nbsp; fps = 30, &nbsp; &nbsp; &nbsp; imageSuffix = { &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["@2x"] = 1.5, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;["@4x"] = 3.0, &nbsp; &nbsp; &nbsp; }, &nbsp; &nbsp;}, }

build.settings

settings = { orientation = { default = "landscapeLeft", supported = { "landscapeLeft", "landscapeRight" }, }, iphone = { plist= { --UIStatusBarHidden=true, }, }, android = { usesPermissions = { "android.permission.INTERNET", "com.android.vending.CHECK\_LICENSE", "com.android.vending.BILLING", }, }, }

main.lua

local composer = require ("composer") local licensing = require( "licensing" ) licensing.init( "google" ) local function licensingListener( event ) &nbsp; local verified = event.isVerified &nbsp; &nbsp;if event.isVerified then composer.gotoScene("intro") &nbsp; &nbsp;else &nbsp; &nbsp; &nbsp; native.showAlert( "Licensing Failed!", "There was a problem verifying the application, please try again.", { "OK" } ) &nbsp; &nbsp;end end licensing.verify( licensingListener )

Any thoughts why i cant get the license to work?

BR 

Tommy

Is the app published?

Is the app published?