mirror of
https://github.com/shuto-cn/cordova-plugin-root-detection.git
synced 2026-04-19 00:01:31 +08:00
Remove arg0 from isDeviceRooted
arg0 is never used in the native code, undocumented and breaks the documented usage.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var exec = require('cordova/exec');
|
||||
|
||||
exports.isDeviceRooted = function(arg0, success, error) {
|
||||
exec(success, error, "RootDetection", "isDeviceRooted", [arg0]);
|
||||
exports.isDeviceRooted = function(success, error) {
|
||||
exec(success, error, "RootDetection", "isDeviceRooted", []);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user