Simulator and admob

Hello all,

I’m creating an app and I’m struggling with the Admob plugin.
I have an admob account and got everything right at that point but I still have nothing working on the simulator as I receive this message continuously :

admob.init() WARNING: The AdMob plugin is only supported on Android & iOS devices. Please build for device

admob.isLoaded() WARNING: The AdMob plugin is only supported on Android & iOS devices. Please build for device

Not sure of where does it come from neither how to solve it… any clue ?
Thanks in advance.

Hello and welcome!

It’s as the warning message tells you. The AdMob plugin is not supported on the simulator, so you need to build for iOS or Android for the plugin to work.

thanks for the answer :slight_smile:

I ended up build and deploy on my phone and indeed it works !

Now I’m about to go for IAP :slight_smile: this will be a another story LOL