Hi,
When an interstitial advertisement is displayed, event.phase does not return “displayed”.
“init”, “loaded” and “clicked” work correctly.
Can you find the cause?
I am testing against version 2023.3688.
This problem does not occur on Android devices, only on IOS devices.
local platform = system.getInfo("platform")
local appodeal = require("plugin.appodeal")
local appodeal_appkey = {
android = "XXXXXXXXXXXXXXXXX",
ios = "XXXXXXXXXXXXXXXXX"
}
local function adListener(event)
print("event.type", event.type)
print("event.phase", event.phase)
end
appodeal.init(adListener, {
appKey = appodeal_appkey[platform],
supportedAdTypes={"interstitial"}
})
timer.performWithDelay(5000,
function()
if(appodeal.isLoaded("interstitial")) then
appodeal.show("interstitial")
end
end
)