admob-google
Advanced tools
+1
-1
@@ -1,1 +0,1 @@ | ||
| {"name":"admob-google","version":"3.2.9","description":"AdMob plugin. Android SDK v7.5, iOS SDK v7.3.1.","cordova":{"id":"admob-google","platforms":["android","ios"]},"repository":{"type":"git","url":"git+https://github.com/appfeel/admob-google-cordova.git"},"keywords":["ad","ads","admob","google","advertising","advertisment","publicity","earn","win","play","services","iad","flurry","monetization","money","appfeel","tappx","ecosystem:cordova","cordova-android","cordova-ios"],"engines":[{"name":"cordova","version":">=3.0.0"}],"author":"AppFeel","license":"MIT","bugs":{"url":"https://github.com/appfeel/admob-google-cordova/issues"},"homepage":"https://github.com/appfeel/admob-google-cordova#readme"} | ||
| {"name":"admob-google","version":"3.2.11","description":"AdMob plugin. Android SDK v7.5, iOS SDK v7.3.1.","cordova":{"id":"admob-google","platforms":["android","ios"]},"repository":{"type":"git","url":"git+https://github.com/appfeel/admob-google-cordova.git"},"keywords":["ad","ads","admob","google","advertising","advertisment","publicity","earn","win","play","services","iad","flurry","monetization","money","appfeel","tappx","ecosystem:cordova","cordova-android","cordova-ios"],"engines":[{"name":"cordova","version":">=4.0.0"}],"author":"AppFeel","license":"MIT","bugs":{"url":"https://github.com/appfeel/admob-google-cordova/issues"},"homepage":"https://github.com/appfeel/admob-google-cordova#readme"} |
+1
-1
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="admob-google" version="3.2.9"> | ||
| <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="admob-google" version="3.2.11"> | ||
| <description>AdMob plugin. Android SDK v7.5, iOS SDK v7.3.1.</description> | ||
@@ -4,0 +4,0 @@ <name>AdMob Google Ads + Tappx</name> |
+1
-1
@@ -58,3 +58,3 @@ *<p style="font-size: small;" align="right"><a color="#232323;" href>Made in Barcelona with <span color="#FCB">Love</span> and <span color="#BBCCFF">Code</span></a></p>* | ||
| ```xml | ||
| <gap:plugin name="cordova-admob" source="npm"/> | ||
| <gap:plugin name="phonegap-admob" source="npm"/> | ||
| ``` | ||
@@ -61,0 +61,0 @@ |
@@ -9,9 +9,18 @@ #!/usr/bin/env node | ||
| src = path.resolve(context.opts.plugin.dir, 'www'), | ||
| www = path.resolve(context.opts.projectRoot, 'www'), | ||
| lib = path.resolve(context.opts.projectRoot, 'www', 'lib'), | ||
| dst = path.resolve(context.opts.projectRoot, 'www', 'lib/angular-admob'); | ||
| ensureExists(context, dst, function (err) { | ||
| if (!err) { | ||
| copyFile(context, src, dst, deferred.resolve); | ||
| } | ||
| }); | ||
| ensureExists(context, www) | ||
| .then(function () { | ||
| return ensureExists(context, lib); | ||
| }) | ||
| .then(function () { | ||
| return ensureExists(context, dst); | ||
| }) | ||
| .then(function (err) { | ||
| if (!err) { | ||
| copyFile(context, src, dst, deferred.resolve); | ||
| } | ||
| }); | ||
@@ -43,3 +52,3 @@ return deferred.promise; | ||
| function showErrorNotice(context, err) { | ||
| console.log("\x1b[31m\x1b[1mcordova-admob:\x1b[22m \x1b[93m Warning, could not copy necessary files for angular browser platform."); | ||
| console.log("\x1b[31m\x1b[1mcordova-admob:\x1b[22m \x1b[93m Warning, could not copy necessary files for angular browser platform.\x1b[0m"); | ||
| if (err) { | ||
@@ -50,6 +59,7 @@ console.log(); | ||
| } | ||
| console.log("\x1b[31m\x1b[1mcordova-admob:\x1b[22m \x1b[93m Please ensure `www/lib/angular-admob/angular-admob.js` exists (you can copy it from `plugins/" + context.opts.plugin.id + "/angular-admob.js`)"); | ||
| console.log("\x1b[31m\x1b[1mcordova-admob:\x1b[22m \x1b[93m Please ensure `www/lib/angular-admob/angular-admob.js` exists (you can copy it from `plugins/" + context.opts.plugin.id + "/angular-admob.js`)\x1b[0m"); | ||
| } | ||
| function ensureExists(context, path, mask, cb) { | ||
| function ensureExists(context, path, mask) { | ||
| var deferred = new context.requireCordovaModule('q').defer(); | ||
| if (typeof mask == 'function') { // allow the `mask` parameter to be optional | ||
@@ -62,11 +72,13 @@ cb = mask; | ||
| if (err.code == 'EEXIST') { | ||
| cb(null); // ignore the error if the folder already exists | ||
| deferred.resolve(); // ignore the error if the folder already exists | ||
| } else { | ||
| cb(err); // something else went wrong | ||
| showErrorNotice(context); | ||
| deferred.reject(err); // something else went wrong | ||
| } | ||
| } else { | ||
| cb(null); // successfully created folder | ||
| deferred.resolve(); // successfully created folder | ||
| } | ||
| }); | ||
| return deferred.promise; | ||
| } |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
136257
0.35%1492
0.74%