mirror of
https://github.com/en-lwj/cordova-plugin-cescit-integrity.git
synced 2025-01-19 06:12:50 +08:00
23 lines
484 B
JavaScript
23 lines
484 B
JavaScript
var exec = require('cordova/exec');
|
|
|
|
function AntiTampering () {}
|
|
|
|
AntiTampering.prototype.verify = function (successCallback, errorCallback) {
|
|
exec(successCallback,
|
|
errorCallback,
|
|
'CescitIntegrity',
|
|
'verify',
|
|
[]);
|
|
};
|
|
|
|
AntiTampering.prototype.getList = function (successCallback, errorCallback) {
|
|
exec(successCallback,
|
|
errorCallback,
|
|
'CescitIntegrity',
|
|
'getList',
|
|
[]);
|
|
};
|
|
|
|
|
|
module.exports = new AntiTampering();
|