Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-ad-admob

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-ad-admob - npm Package Compare versions

Comparing version 1.0.92 to 1.0.93

2

package.json
{
"name": "cordova-plugin-ad-admob",
"version": "1.0.92",
"version": "1.0.93",
"description": "Show admob banner and full screen ad",

@@ -5,0 +5,0 @@ "cordova": {

@@ -76,3 +76,3 @@ Cordova AdMob plugin

Fixed Android cordova5 build error.
1.0.92
1.0.93
Updated Admob SDK

@@ -279,46 +279,35 @@ Windows Phone 8 - 6.5.13

document.addEventListener("deviceready", function(){
//if no license key, 2% ad traffic share for dev support.
//you can get free license key from https://play.google.com/store/apps/details?id=com.cranberrygame.pluginsforcordova
//window.admob.setLicenseKey("yourEmailId@yourEmaildDamin.com", "yourFreeLicenseKey");
if (typeof window["admob"] != 'undefined') {
setUpPlugin();
}
//wp8
else {
setTimeout(setUpPlugin,600);
}
window.admob.setUp(bannerAdUnit, fullScreenAdUnit, isOverlap, isTest);
//
window.admob.onBannerAdPreloaded = function() {
alert('onBannerAdPreloaded');
};
window.admob.onBannerAdLoaded = function() {
alert('onBannerAdLoaded');
};
window.admob.onBannerAdShown = function() {
alert('onBannerAdShown');
};
window.admob.onBannerAdHidden = function() {
alert('onBannerAdHidden');
};
//
window.admob.onFullScreenAdPreloaded = function() {
alert('onFullScreenAdPreloaded');
};
window.admob.onFullScreenAdLoaded = function() {
alert('onFullScreenAdLoaded');
};
window.admob.onFullScreenAdShown = function() {
alert('onFullScreenAdShown');
};
window.admob.onFullScreenAdHidden = function() {
alert('onFullScreenAdHidden');
};
}, false);
function setUpPlugin() {
//if no license key, 2% ad traffic share for dev support.
//you can get free license key from https://play.google.com/store/apps/details?id=com.cranberrygame.pluginsforcordova
//window.admob.setLicenseKey("yourEmailId@yourEmaildDamin.com", "yourFreeLicenseKey");
window.admob.setUp(bannerAdUnit, fullScreenAdUnit, isOverlap, isTest);
//
window.admob.onBannerAdPreloaded = function() {
alert('onBannerAdPreloaded');
};
window.admob.onBannerAdLoaded = function() {
alert('onBannerAdLoaded');
};
window.admob.onBannerAdShown = function() {
alert('onBannerAdShown');
};
window.admob.onBannerAdHidden = function() {
alert('onBannerAdHidden');
};
//
window.admob.onFullScreenAdPreloaded = function() {
alert('onFullScreenAdPreloaded');
};
window.admob.onFullScreenAdLoaded = function() {
alert('onFullScreenAdLoaded');
};
window.admob.onFullScreenAdShown = function() {
alert('onFullScreenAdShown');
};
window.admob.onFullScreenAdHidden = function() {
alert('onFullScreenAdHidden');
};
}

@@ -352,5 +341,5 @@ window.admob.preloadBannerAd();//option, download ad previously for fast show

<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/basic/index.html">example/basic/index.html</a><br>
<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/advanced/index.html">example/advanced/index.html</a>
<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/basic_wp8/index.html">example/basic/index.html</a><br>
<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/advanced_wp8/index.html">example/advanced/index.html</a>
<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/advanced/index.html">example/advanced/index.html</a><br>
<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/basic_wp8/index.html">example/basic_wp8/index.html</a><br>
<a href="https://github.com/cranberrygame/cordova-plugin-ad-admob/blob/master/example/advanced_wp8/index.html">example/advanced_wp8/index.html</a>

@@ -357,0 +346,0 @@ # Test #

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc