Appodeal Test Ads not showing

Hi Everyone,

I am new to Corona and would appreciate some help with this. I am testing out the Appodeal pluggin. I created a simple test app for android and got a banner ad to show in testmode on my phone. However if i run the same code on the simulator I get the following message on the console “The Appodeal plugin is only supported on Android and iOS devices”. Can the Appodeal plugin be run in testmode in the simulator or does this plugin work only on device builds?

My code is below. I am running build 2018.3250 with the Outlaw editor

local appodeal = require( "plugin.appodeal" ) local function adListener( event ) if ( event.phase == "init" ) then -- Successful initialization -- maybe set a flag that you can see in all scenes to know that initialization is complete appodeal.load( "banner" ) elseif ( event.phase == "failed" ) then -- The ad failed to load print( event.type ) print( event.isError ) print( event.response ) end end -- Initialize the Appodeal plugin appodeal.init( adListener,{ appKey="xxxxxxxxxxxxxxxxxx",testMode = true } ) appodeal.show( "banner", { yAlign="bottom" } )

Hello @technocrat and welcome to the Corona community forums.

No ad plugins work in the simulator because the ad providers only make SDK’s for Android and iOS, very few make SDK’s for Windows or macOS which is the operating system running the simulator. You will need to test ads on device. We do offer live builds where your device will update when you save changes in your editor much like the simulator which eases the challenge of testing on devices somewhat.

Rob

Thank you Rob for clarifying that for me.

Hello @technocrat and welcome to the Corona community forums.

No ad plugins work in the simulator because the ad providers only make SDK’s for Android and iOS, very few make SDK’s for Windows or macOS which is the operating system running the simulator. You will need to test ads on device. We do offer live builds where your device will update when you save changes in your editor much like the simulator which eases the challenge of testing on devices somewhat.

Rob

Thank you Rob for clarifying that for me.