I have this functionality working on iOS very nicely using " ads.isAdAvailable() "
I cannot get this to work on Android , i’ve read there are some issues with android and that others have gotten it to work but I’ve tried everything
i need to test if there is an ad available before sending them to another screen
[lua]
local function listener( event )
print( “listener called” )
if (CoronaProvider.ads.vungle.isAdAvailable()) then
statusText.text = “ADS are available”
statusText:setTextColor (113, 255, 103 )
else
statusText.text = “ADS are NOT available”
statusText:setTextColor ( 255, 49, 95 )
end
end
timer.performWithDelay( 1000, listener,0 )
[/lua]