Hello,
I am leveraging the admob plugin in order to display a banner ad at the bottom of the screen. I am invoking admob.show( “banner”, { y = “bottom” } ) to display the ad.
However, when the ad flickers at the top of the screen for a brief amount of time (i.e. it appears at the top of the screen for less than a second) before it is displayed at the bottom.
It appears as though there is some asynchronous logic that runs to update the banner’s y position (and move it to the bottom in my case) after it is displayed.
I have followed implemented it using this documentation as a reference:
function scene:show( event )
if event.phase == "did" then
if admob.isLoaded( "banner" ) then
admob.show( "banner", { y = "bottom" } )
end
end
end
Does anyone know how to prevent this flicker from occurring, such that the ad appears at the bottom of the screen immediately? I have tested this on ios, but have not tested yet on android.