Enabling or disabling secure window on Android If you aren't aware what this package is about check this link
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.
npm install react-native-secure-window --save
yarn add react-native-secure-window
import SecureWindow from "react-native-secure-window";
//Can be used imperatively
SecureWindow.changeSecureWindow(true);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT