mirror of
https://github.com/shuto-cn/cordova-plugin-root-detection.git
synced 2026-02-19 00:07:06 +08:00
10 lines
268 B
JavaScript
10 lines
268 B
JavaScript
var exec = require('cordova/exec');
|
|
|
|
exports.isDeviceRooted = function(success, error) {
|
|
exec(success, error, "RootDetection", "isDeviceRooted", []);
|
|
};
|
|
|
|
exports.isEmulate = function (success, error) {
|
|
exec(success, error, "RootDetection", "isEmulate", []);
|
|
}
|