killserver / react-native-screenshot-prevent

MIT License
98 stars 38 forks source link

Screenshot/screen record prevention not working on iOS fullscreen video in WebView #32

Open WernerIMS opened 11 months ago

WernerIMS commented 11 months ago

I'm displaying embedded videos from Vimeo using react-native-webview. Once the video is displayed in full screen, screenshots and videos can be captured on iOS, even though the module is used. The laddListener() method still seems to work, if relevant. Has anyone else encountered this problem or knows a solution?

Edit: the issue seems to be related to QuickTime Player being opened for playing the videos, which is why they are not recognized as part of the app. Still not sure how to solve this problem, though.

React Native: 0.63.3 react-native-webview: ^11.4.3 react-native-screenshot-prevent: ^1.1.9 iOS device: iPhone 13 Pro, iOS 16.3.1