I also encounter problems at scene change when the new upcoming scene is doing this:
if \_G.adson==true then -- now load and show banner and interstitial ads: if admob.isLoaded("banner")==true then -- show the banner admob.show( "banner",{y="top"} ) else -- try to load the banner now again: admob.load( "banner", { adUnitId=\_G.admobBannerID, childSafe=false } ) end -- now loading the interstitial ad: if admob.isLoaded("interstitial")==false then admob.load( "interstitial", { adUnitId=\_G.admobInterstitialID, childSafe=false } ) else admob.show("interstitial") end else ... end
I get a black screen (stuck in loading screen!) when doing this on an Android device (Galaxy Tab Model SM-T110).
But when I remove the line admob.show(“interstitial”) it is working and showing the new scene.
What can cause this strange behaviour? The scene seems to be working in the background right until the line admob.show(“interstitial”) is called.