I’m using the following code (with a listener before) in my main lua file:
_G.ads.init (“iads”,id,_G.adListener)
_G.ads.init(“admob”,id2,_G.adListener)
then I set the current provider and later in the code I switch between both.
Now I have encountered a problem using
_G.ads.hide()
After calling this I still have ads on the screen.
Is this because I use the same global _G.ads with two inits?
Thx!
Daniela