cordova-plugin-protectscreen

cordova plugin add cordova-plugin-protectscreen


Keywords
cordova, ionic, prevent, screenshot, and, screen, recording
License
MIT
Install
npm install cordova-plugin-protectscreen@1.0.5

Documentation

ProtectScreen

Installation

cordova plugin add cordova-plugin-protectscreen

Usage

When a screenshot occurs on iOS, a 'UserDidTakeScreenshot' event is triggered .

document.addEventListener("UserDidTakeScreenshot", function() {
    window.alert("Screenshot Taken");
}, false);  

License

MIT.

Credit

Tommy-Carlos Williams (http://github.com/devgeeks)