Socket
Socket
Sign inDemoInstall

react-native-screen-capture

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-screen-capture

react-native-screen-capture allows you to protect screens in your app from being captured or recorded, as well as be notified if a screenshot is taken while your app is foregrounded.


Version published
Weekly downloads
783
increased by54.74%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-screen-capture

Screen Capture allows you to protect screens in your app from being captured or recorded, as well as be notified if a screenshot is taken while your app is foregrounded.

Keep Awake, keep the screen from going to sleep. iOS and Android

Installation

npm i react-native-screen-capture

Preview

Usage

import { disallowScreenshot, keepAwake } from 'react-native-screen-capture';

// disable screenshots
disallowScreenshot(true);

// enable screenshots
disallowScreenshot(false);

// Keep awake true
keepAwake(true);

// Keep awake false
keepAwake(false);

Roadmap

StatusPlatformGoal
AndroidScreenshot disable
iOSScreenshot disable
AndroidKeep awake on or off
iOSKeep awake on or off

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

FAQs

Last updated on 21 Jul 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc