cpb

cordova-plugin-blurred-snapshot

Cordova Plugin for blurring app when it will resign active and removes it when app did become active.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

0

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

iOS Blurred Snapshot Plugin for Apache Cordova

Use this plugin to keep sensitive information from views before moving to the background. As apple recommends

Made with WWDC 2013 UIImage+ImageEffects

iOS 8 UIBlurEffect is less configurable(No API for Radius)

Install

cordova-ios platform >= 4.0.0

cordova plugin add cordova-plugin-blurred-snapshot

Locally

cordova plugin add https://github.com/trykovyura/cordova-plugin-blurred-snapshot.git

Usage

Depends on application events: "pause" and "resume". Apply plugin method "addBlurredSnapshot" on "pause" to add blurred snapshot for app. Apply plugin method "removeBlurredSnapshot" on "resume" to remove blurred snapshot.

Example

 document.addEventListener('pause', onPause, false);
 document.addEventListener('resume', onResume, false);

 function onPause() {
    blurredsnapshot.addBlurredSnapshot();
 }

 function onResume() {
    blurredsnapshot.removeBlurredSnapshot();
 }

Platform Support

iOS only. Tested in iOS7+, might work on older iOS versions

License

MIT License

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial