mirror of
https://github.com/sdkcarlos/cordova-ourcodeworld-preventscreenshots.git
synced 2025-01-19 05:22:51 +08:00
19 lines
529 B
JavaScript
19 lines
529 B
JavaScript
/*global cordova, module*/
|
|
|
|
module.exports = {
|
|
enableScreenshots: function(){
|
|
cordova.exec(function(data){
|
|
console.info(data);
|
|
}, function(err){
|
|
console.error(err);
|
|
}, "OurCodeWorldpreventscreenshots", "enable", [_settings]);
|
|
},
|
|
disableScreenshots: function(){
|
|
cordova.exec(function(data){
|
|
console.info(data);
|
|
}, function(err){
|
|
console.error(err);
|
|
}, "OurCodeWorldpreventscreenshots", "disable", [_settings]);
|
|
}
|
|
};
|