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

Cannot disable screenshots on iOS 17 Beta #21

Closed itsChri99 closed 1 year ago

itsChri99 commented 1 year ago

Hi, I noticed that on iOS 17 beta the library is not working. It works only on iOS 16.6 or below. Can you check it?

Thank you so much Christian

wn-na commented 1 year ago

Thanks to report issue for iOS 17 beta, i will check this issue ASAP. Thanks

wn-na commented 1 year ago

Could you please let me know which features are not working? @itsChri99

itsChri99 commented 1 year ago

Sure, the event listener for screenshots correctly works but the black screen for preventing screenshots does not work. So this two methods:

CaptureProtection.preventScreenshot();
CaptureProtection.preventScreenRecord();
wn-na commented 1 year ago

thanks:) i'll check for this function ASAP

wn-na commented 1 year ago

@itsChri99 hi, i fix this issue & release version. can you try npm i react-native-capture-protection@1.9.0-beta and try again?

itsChri99 commented 1 year ago

@0xlethe I confirm, now it correctly works! Thank you so much!