Files
cordova-plugin-root-detection/www/rootdetection.js
T
Christian 5227d53592 Remove arg0 from isDeviceRooted
arg0 is never used in the native code, undocumented and breaks the documented usage.
2015-08-03 11:14:40 +02:00

6 lines
157 B
JavaScript

var exec = require('cordova/exec');
exports.isDeviceRooted = function(success, error) {
exec(success, error, "RootDetection", "isDeviceRooted", []);
};