react-native-secure-window
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i react-native-secure-window

    Weekly Downloads

    212

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    93.1 kB

    Total Files

    32

    Last publish

    Collaborators

    • ashwinmothilal