I cannot get the vungle plugin to ever run the callback code even though ads are being played.
Here is my setup for vungle.
local function vungleAdListener( event )
print(“VUNGLE ADS LISTENER!!!”)
if ( event.type == “adStart” and event.isError ) then
– Ad has not finished caching and will not play
ads:setCurrentProvider( “admob” )
ads.show( “interstitial” )
elseif ( event.type == “adStart” and not event.isError ) then
– Ad will play
globals.rewarded_video_available = false
elseif ( event.type == “cachedAdAvailable” ) then
– Ad has finished caching and is ready to play
globals.rewarded_video_available = true
elseif ( event.type == “adView” ) then
gutils.get_extra_time()
elseif ( event.type == “adEnd” ) then
– The ad experience has been closed- this
– is a good place to resume your app
end
end
ads.init( “vungle”, globals.vungle_key, vungleAdListener )
This hadn’t been an issue in the past. Any help would be appreciated.