1.0.8 • Published 6 years ago

cordova-plugin-detect-screenshot v1.0.8

Weekly downloads
90
License
MIT
Repository
github
Last release
6 years ago

cordova-plugin-detect-screenshot

Detects screenshots on Cordova for iOS. The plugin will only work on devices with iOS >= 7, however feel free to include this plugin in projects with a lower target than iOS 7. The plugin checks the iOS version before listening for events, so it won't break anything.

Installation

cordova plugin add cordova-plugin-detect-screenshot

Usage

When a screenshot occurs, a 'screenshot' event is triggered. Simply listen for this event in your javascript.

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

License

MIT.

1.0.8

6 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago