cordova-ourcodeworld-preven.../www/ourcodeworldpreventscreenshots.js
Carlos Delgado 6b0c7611eb First commit
2016-06-09 16:05:46 +02:00

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]);
}
};