I purchased the Chartboost Plugin and set everything up on the Chartboost side of everything. Here is my code:
local function adListener( event ) if ( event.isError ) then display.newText( sceneGroup, event.response, \_CX, \_CY - 100, \_FONT, 18 ) end if ( event.phase == "init" ) then -- Successful initialization -- Pre-load the "more apps" screen chartboost.load( "interstitial" ) elseif ( event.phase == "loaded" ) then display.newText( sceneGroup, "loaded", \_CX, \_CY + 100, \_FONT, 18 ) end display.newText( sceneGroup, "in function", \_CX, \_CY + 200, \_FONT, 18 ) end chartboost.init( adListener, { appId = "\*\*\*\*\*\*\*", appSig = "\*\*\*\*\*\*\*\*" } )
Chartboost is definitely imported in this scene, and it’s properly in the build settings. I call
chartboost.show( "interstitial" )
when the character dies, but the function is never called. I have added texts so I can see the messages on my phone, but none ever show up. Thanks for any help.