Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent screen record not working for Modal #8

Open
huynextlevel opened this issue Jan 11, 2023 · 7 comments
Open

Prevent screen record not working for Modal #8

huynextlevel opened this issue Jan 11, 2023 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@huynextlevel
Copy link

huynextlevel commented Jan 11, 2023

Hi @killserver ,

I use react-native-screenshot-prevent to prevent the screen record, it's working fine for react-navigation. But when I open Modal (I used react-native-modal library), it can't prevent the Modal view in the screen record. Can you help me check this issue again?

@KarinaOleynik
Copy link

Have the same problem...
And also, is it possible to prevent the screenshot and the screen record for InAppBrowser modal?

@killserver
Copy link
Owner

hello all. please tell me on which device(android/ios) not work prevents? thx

@KarinaOleynik
Copy link

@killserver on both platform

@sanduluca
Copy link

sanduluca commented May 23, 2023

Same problem on Android and IOS. Tested on Pixel 4a and iPhone XR

Edit1: setting coverScreen={false} prop to Modal fixes the problem, but the modal does not cover all the screen unfortunately

Edit2: I guess the fastest solution will be to use other modal library that is implemented on JS only (no native view)

@medonja
Copy link

medonja commented Jul 3, 2023

Any chance this getting fixed? It happens with react-native-modal and setting coverScreen={true}

@killserver
Copy link
Owner

Any chance this getting fixed? It happens with react-native-modal and setting coverScreen={true}

react-native-modal and the react-native modal component are not part of the application... they both create a separate-independent view. you just need to patch the native components to be able to get to them ((
maybe exists idea in community how fix this bug?

@killserver killserver added the help wanted Extra attention is needed label Oct 4, 2023
@chathurasakun
Copy link

same here as well. using react native inbuilt Modal component. Not working screen shot blocking with the app. Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants
@killserver @medonja @chathurasakun @sanduluca @huynextlevel @KarinaOleynik and others