wn-na / react-native-capture-protection

It’s a library for React Native to control simple capture events(i.e. Screenshot or Screen record)
https://www.npmjs.com/package/react-native-capture-protection
MIT License
102 stars 10 forks source link

await CaptureProtection.preventScreenRecord(); not working in IOS #13

Closed Rananjaya closed 1 year ago

Rananjaya commented 1 year ago

I have follow this according to doc, but screenshot image not show in black screen.

wn-na commented 1 year ago

preventScreenRecord only works when recording. If you want to prevent screenshots, use preventScreenshot

Let me know which documentation you did this in, and I'll fix it for you @Rananjaya