cordova-plugin-protectscreen

1.0.5 • Public • Published

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)

/cordova-plugin-protectscreen/

    Package Sidebar

    Install

    npm i cordova-plugin-protectscreen

    Weekly Downloads

    0

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    14 kB

    Total Files

    7

    Last publish

    Collaborators

    • patwaswapnil