Reputation: 10612
I have created a test project and added the plugin AdMobPro through this link : https://github.com/floatinghotpot/cordova-admob-pro.
There, is a step by step guide on how to install and add the plugin to a new project. This all works fine, finally. I run it in the emulator, the ads pop up no problem. Click through the interface, show interstitial ads and so on no problem either.
The problem occurs when I try and use the PhoneGap desktop app to serve the app to my device. I do this from the PhoneGap app on my Samsung Galaxy S7 Edge (I named the phone in case someone has came across this problem before on this device), typed in the server address. The app pops up, alerts working fine on button click etc (testing purposes) but none of the ads work.
To clarify, the ads show in the Android emulator, but not when serving to the PhoneGap app. Any one have any ideas ?
Upvotes: 0
Views: 317
Reputation: 73
The PhoneGap Desktop App works as local web server that you can use with the PhoneGap Developer App to preview your code without creating a separate build.
The reason that you're not seeing the AdMobPro plugin working in the PhoneGap Developer App is because the PhoneGap Developer App only supports the core PhoneGap plugins.
Upvotes: 1