Hi all.
I’m using the locally installed cordova (v10.0.0) to build my app and I noticed that the admob doesn’t seem to work. When I use the online service through GDevelop the ads are working fine, when I build by hand, they don’t. This is the list of the plugins installed for the project:
No, I haven’t tried this with test ads. The app ID and ad unit ID are working fine and I get to see ads when exported through the online tool but not through my cordova installation. DO you think test ads will help debug this?
Just tried the test mode in the ads and still getting no ads displayed on the app. @4ian can you share the cordova /android platform versions you are using for the online build server?
Thank you 4ian for clarifying that. I moved back to cordova cli 10 and did a few test builds (which took quite some time after having to uninstall and re-install cordova and plugins to make it work as it should). I still get no ad banners actually, except for test banners and that not always. This lead me to try to see what is going on using chrome inspect tools. What I noticed is that for the exact same built of the app, I don’t have the same behavior. In the first screen when the game start, I get an iframe which is trying to load the code:
Restarting the game a few times, doesn’t bring the iframe back also.
Some additional notes about how I load the banner:
I am using 3 scenes in the game: Start, Game, End. The banner is loaded and displayed on the ‘Game’ scene, after you hit ‘Start’ on the ‘Start’ scene. Moving the banner loading to the first scene didn’t change much.
Anyway, I might try downgrading the admob plugin and giving it another go at some point.