<p align="center">
  <h1>React Native Screenguard</h1>
  <p>A Native library for blocking screenshot for react-native developer, with background screenshot customizable.</p>
  <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg"></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg"></a>
  <a href="https://aleen42.github.io/badges/src/eslint.svg"><img src="https://aleen42.github.io/badges/src/eslint.svg"></a>
</p>

![ts](https://flat.badgen.net/badge/Built%20With/TypeScript/blue)


https://github.com/gbumps/react-native-screenguard/assets/16846439/26d8ac37-9bc3-4d5b-8ad5-93525fb90a72

You can find full documentation and how to use [here](https://gbumps.github.io/react-native-screenguard)

Web docs repo (for contribution) [here](https://github.com/gbumps/rn-screenguard-docs)

# Get started

<!--ts-->
  * [Installation](#installation)
    * [1.Install](https://gbumps.github.io/react-native-screenguard/docs/getting-started/install)
    * [2.Linking](https://gbumps.github.io/react-native-screenguard/docs/getting-started/linking)
  * [Usage](#usage)
     * [register](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/register)
     * [registerWithoutEffect](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/register-without-effect-android)
     * [registerScreenshotEventListener](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/register-screenshot-event-listener)
     * [registerScreenRecordingEventListener](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/register-screen-recording-event-listener)
     * [registerWithBlurView](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/register-with-blurview)
     * [registerWithImage](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/register-with-image)
     * [unregister](https://gbumps.github.io/react-native-screenguard/docs/usages-and-apis/unregister)
  * [Limitation](https://gbumps.github.io/react-native-screenguard/docs/limitation/)
  * [Contributing](#contributing)
  * [License](#license)
<!--te-->

<a href="https://buymeacoffee.com/hoangthongf" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>

