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" } )