-
Notifications
You must be signed in to change notification settings - Fork 40
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
Screenshot prevention has stopped working with iOS 17 #28
Comments
not working on ios 17 |
Running into the same problem here. Interested to see how we can get it working for iOS17 again. |
+1 |
This could offer a possible solution: https://gist.github.com/ashishkakkad8/747223d68f3675dce4f05e4396baec7e |
+1 |
HI any update on it |
+1 |
I've made this PR that addresses this issues. It works for me by patching this package, but I wanted to contribute with a PR. @killserver |
send update in version 1.1.9. check pls and thx all ) |
@killserver @Nikooos @notclive @riorafe After taking screenshot, warning pop-up is not closing & when we come to other screen it takes screenshot |
Hi! Thanks for this useful package. 👍🏼 Code ( !__DEV__ && PreventScreenshot.enableSecureView()
"react": "17.0.2",
"react-native": "0.65.1",
"react-native-screenshot-prevent": "^1.1.9", Any kind of help would be appreciated, thanks. |
I've put up a PR that should fix this issue, the only thing is that since we didn't need the image functionality in my workplace, I didn't have time to test and keep support for it, but the main idea is to add the textfield secure layer to the app's UIWindow, and from there it should work, and we should be able to add the image as a background to the textfield so it works |
Thanks @GianniCarlo ! |
I understand that the iOS screenshot prevention is unofficial, and is based on a bit of a hack.
It looks like this hack has stopped working as of iOS 17.
The text was updated successfully, but these errors were encountered: