{"repo":"huextrat/react-native-screenshot-aware","free":true,"listed":false,"github":"https://github.com/huextrat/react-native-screenshot-aware","clone":"git clone https://github.com/huextrat/react-native-screenshot-aware.git","description":"React Native module for real-time screenshot detection on Android and iOS","language":"TypeScript","stars":367,"topics":["android","ios","react-native","screenshot"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native Screenshot Aware Real-time screenshot detection for React Native apps v2 is here: Version 2 supports only the New Architecture . Versions older than v2 are no longer maintained . Features - 🚀 Real-time screenshot detection - 🔄 Cross-platform support (iOS & Android) - 🎣 Easy-to-use React hooks - ⚡ Optimized for performance - 📱 Supports Android 14+ (API level 34+) and iOS 14+ - 🏗️ New Architecture only Compatibility - v2: New Architecture only. No legacy architecture support. - v1.x and below: No longer maintained. - React Native =0.76, use version 1.3.0 or later - React Native =0.79, use version 1.3.10 or later Installation or Important Notes Android - Supports Android 14+ (API level 34 and above) - Utilizes the latest Android API for efficient screenshot detection - Leverages the new DETECT SCREEN CAPTURE permission introduced in Android 14 - Provides a more privacy-friendly and performant approach to screenshot detection Expo For Expo projects, you can use the Expo plugin in app.json or add the permission manually to your app.json : Bare RN Permissions To use the screenshot detection feature on Android, you need to add the following permission to your AndroidManifest.xml file: Note : Callbacks will never be triggered on devices running Android versions below 14. This is due to the reliance on the new DETECT SCREEN CAPTURE permission and APIs introduced in Android 14, which are not available in earlier versions. Note : The decision to support only Android 14","default_branch":null,"files":null,"tree":[],"storefront":"/r/huextrat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/huextrat/react-native-screenshot-aware/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}