First one small issue. If I don’t specify the disable disableWriteExternalPermissionCheck in the init I always get the error toast message. It appears that the default is false:
appodeal.init( A.adListener, { appKey=appodealId, disableWriteExternalPermissionCheck=true, supportedAdTypes={"banner", "interstitial", "rewardedVideo"} } )
Now the other issue I have is the banner ads. They don’t show at all. After the init if I try to show them nothing happens. Nothing in the logs. If I try to load them I get this error:
K88: ERROR: appodeal.load(adUnitType [, options]), Request ignored. You didn't specify 'banner' in supportedAdTypes during init()
I tried both to specify the “banner” as an adType in init and not including the suppoertedAdTypes property. I still get the same error.
Interstitial and reward video work as expected with absolutely no issues.
Here is the important part of my implementation.
A.adListener = function( event ) local json = require( "json" ) print("++++Appodeal:", json.prettify(event)) if event.phase == "init" then -- Successful initialization appodeal.show( "banner", { yAlign="bottom" } ) elseif event.type == "rewardedVideo" and event.data.name == "reward" and event.phase == "playbackEnded" then A.eventDispatcher:dispatchEvent( { name="rewarded", data=true } ) end end local appodealId = appodealIds[A.platform] appodeal.init( A.adListener, { appKey=appodealId, disableWriteExternalPermissionCheck=true, supportedAdTypes={"banner", "interstitial", "rewardedVideo"} } )