In question2.lua I will have printed to screen ‘event_phase = loaded’ Than zero ads will load. It still Shows Ads on older builds 2016.3033 shows ads no problem. Every time I use a the new build 2018.3293 it will not show the Ads
.
Main.lua
[lua]
revmob = require( “plugin.revmob” )
bannerID = “5af9984ba30c3b1c882e7f5d”
–videoID = “5af9984ba30c3b1c882e7f65”
–interID = “5af9984ba30c3b1c882e7f5f”
event_phase = nil
function adListener( event )
if ( event.phase == “init” ) then – Successful initialization
local text=display.newText(“init =”…event.phase, 80, 150, “arial”, 45)
end
event_phase = event.phase
end
revmob.init( adListener, { appId = “5af9984ba30c3b1c882e7f5b”} )
[/lua]
ques1.lua
[lua]
revmob.load( “banner”, bannerID )
[/lua]
ques2.lua
[lua]
if (event_phase == “sessionStarted”) then
local text=display.newText("event_phase "…event_phase, 280, 400, “arial”, 45)
elseif (event_phase == “loaded”) then
local text=display.newText(“event_phase =”…event_phase, 280, 450, “arial”, 45)
elseif ( event_phase == “failed” ) then – The ad failed to load
local text=display.newText(“failed”, 280, 400, “arial”, 45)
else
local text=display.newText(“nads”, 280, 400, “arial”, 45)
end
revmob.show( bannerID, { yAlign=“center” } )
[/lua]