I’ve been reading through the corona docs for how to implement appodeal into my game.
I have added all the required lines into my build.settings file
I am now looking at the page here: docs.coronalabs.com/plugin/appodeal/index.html
Under syntax it mentions
local appodeal = require( "plugin.appodeal" )
I am wondering, do I just add the line in my main.lua file once and i’m set to use all the function calls
or do I need to include this in every .lua file that I would plan to show ads in?
I’m not sure, but I am under the impression that anything required in the main.lua file carries over to all other .lua files in the project, but I am probably wrong.
Thanks