🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

react-native-secure-window

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-secure-window

Enabling or disabling secure window on Android

0.4.0
latest
Version published
Weekly downloads
559
21.52%
Maintainers
1
Weekly downloads
 
Created

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

FAQs

Package last updated on 13 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts