Issue
There is something similar in Java:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
Is it possible to do this in react native?
Solution
Yes it's possible. You can use this react-native-screenshot-prevent
third party library for this purpose.
yarn add react-native-screenshot-prevent
Guide:
https://github.com/killserver/react-native-screenshot-prevent
Answered By - Hamza Awais
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.