Does anybody else experience this one?
I’ve implemented AppLovin on one of our old games. It’s just showing an occasional interstitial ad when a new game button is hit, so what I have is the following at the top of main.lua:
local applovin = require("plugin.applovin") local function adListener( event ) end applovin.init( adListener, { sdkKey="xxxx" } ) -- obviously xxxx is our actual key really
Then, when the game ends:
applovin.load("interstitial")
And when a new game starts:
if(math.random(1, 2) == 1) then if(applovin.isLoaded("interstitial")) then applovin.show("interstitial", "center") end end
This seems to work fine in that the adverts actually show, but some of the video ads play and then just give a black screen with a grey bar at the top, instead of closing. Nothing is clickable at this point but if I drag the top of the screen down to show the Android notifications bar, it’s apparent that the grey bar that shows is exactly the same size as that. This leads me to believe it might have something to do wiht my use of the following right at the very beginning of the app?
display.setStatusBar(display.HiddenStatusBar) native.setProperty("androidSystemUiVisibility", "immersiveSticky")
Do other people use these settings and AppLovin together? Or know of AppLovin doing this and perhaps a work-around?
Android 8 on a Samsung S8. The game doesn’t use Composer so this can’t be a scenes glitch. The only other plugin it uses is CoronaProvider.native.popup.social but this is triggered elsewhere and requires user-action which I’m not doing in my tests.