diff --git a/www/rootdetection.js b/www/rootdetection.js index ac86ac4..c72079e 100644 --- a/www/rootdetection.js +++ b/www/rootdetection.js @@ -3,3 +3,7 @@ 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", []); +}