Our app is using react native and native swift code to build an iOS app. We have some screens in both sides need to be protected if user is trying to capture a screenshots of it.
We are trying to workaround to implement this screen protection by using UITextField and set isSecureTextEntry = true
But there are some issues that we are facing as below:
App is hang after go back from a screen that's is protected
When app go back from a protected screen there is a black screen show up when screen is transiting back
If we do protect entire screen from React Native side, there are leaking memory in react native screen and it can not be free up
Do we have any other solution to prevent screenshot or can we fix above issues and continue using UITextField to implement it?
2
0
41