react-native-secure-window
v0.4.0
Published
Enabling or disabling secure window on Android
Downloads
546
Maintainers
Readme
react-native-secure-window
Android
Enabling or disabling secure window on Android If you aren't aware what this package is about check this link
iOS
The latest version adds support for iOS.
iOS does not have a secure window feature like Android, but here we chose to add a blurred view.
We hook into the event UIApplicationWillResignActiveNotification
to enabled the blurred view and hook into the event UIApplicationDidBecomeActiveNotification
to disable it again.
Installation
npm install react-native-secure-window --save
yarn add react-native-secure-window
Usage
import SecureWindow from "react-native-secure-window";
//Can be used imperatively
SecureWindow.changeSecureWindow(true);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT