cordova-plugin-iroot
Advanced tools
Comparing version 0.5.0 to 0.6.0
{ | ||
"name": "cordova-plugin-iroot", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Cordova Jailbreak/Root Detection Plugin for Apache Cordova", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -43,3 +43,6 @@ ## Cordova Jailbreak/Root Detection Plugin | ||
### ionic | ||
See comments in https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1 | ||
### Screens | ||
@@ -46,0 +49,0 @@ |
var exec = require('cordova/exec'); | ||
var IRoot = function () { | ||
this.name = "IRoot"; | ||
module.exports = { | ||
isRooted: function(successCallback, failureCallback) { | ||
exec(successCallback, failureCallback, 'IRoot', 'isRooted', []); | ||
}, | ||
isRootedRedBeer: function(successCallback, failureCallback) { | ||
exec(successCallback, failureCallback, 'IRoot', 'isRootedRedBeer', []); | ||
} | ||
}; | ||
IRoot.prototype.isRooted = function (successCallback, failureCallback) { | ||
exec(successCallback, failureCallback, "IRoot", "isRooted", []); | ||
}; | ||
IRoot.prototype.isRootedRedBeer = function (successCallback, failureCallback) { | ||
exec(successCallback, failureCallback, "IRoot", "isRootedRedBeer", []); | ||
}; | ||
module.exports = new IRoot(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 11 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19615026
217
13
60
147