- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, since they changed the new version it is a headache and I'm more lost.
Try search plugins "Admob Plugin" and can not find it and Thirds-party puts me npm
Does anyone know how to fix this? I have the latest version
Then simulate, Android works for me perfect, but I get IOS black screen ...
Thank you
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please help me :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use AdMob Plugin Pro (cordova-plugin-admobpro). It works!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hamilton Tenório da Silva wrote:
Use AdMob Plugin Pro (cordova-plugin-admobpro). It works!
It is included in the program itself or do I have to download and then import it?
Before it was super easy, now they changed and I despair
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You must include this plugin and insert some information in your code.
The old admob.js must be removed from your project.
In my code I put this:
//mostra banner var admobid = {}; // select the right Ad Id according to platform if( /(android)/i.test(navigator.userAgent) ) { admobid = { // for Android banner: 'ca-app-pub-xxxx', interstitial: '' }; } else if(/(ipod|iphone|ipad)/i.test(navigator.userAgent)) { admobid = { // for iOS banner: 'ca-app-pub-yyyy', interstitial: '' }; } else { admobid = { // for Windows Phone banner: '', interstitial: '' }; } if(AdMob) AdMob.createBanner({ adId: admobid.banner, position: AdMob.AD_POSITION.BOTTOM_CENTER, autoShow: true });
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jack -- use the "add third-party plugin" option under the plugin management tool and use "NPM" as your plugin add option, using the plugin name that Hamilton provided.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page