Here is part of my build.settings
android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", }, }, plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs" },
Here is part of the scene in which I can succesfully show banner ads from admob but the adlistener isnt being called.
local function adMobListener( event ) sometext.text = "Ad height is "..ads.height() if ( event.isError ) then print("error") end end ads.init( "admob", "ca-app-pub-#", adMobListener )
–I call ads.show inside of scene:create( event )
ads.show( "banner", { x=0, y=0} )
Also ads.height() returns 0 when I tried to call it directly.
How can I solve these issues?
Im using build 2014.2393