✍️ Prevent Users from Taking Screenshot in React Native
git clone https://github.com/mcnaveen/React-Native-Screenshot-Protect
cd React-Native-Screenshot-Protect
npm install
- Open Two Terminals
- In 1st Terminal Start the React Native Server
npx react-native start - In 2nd Terminal Run the Android Code
npx react-native run-android - Make sure your emulator is on or Device is connected.
Feel free to use this code. If you have any doubts please comment in the blog