Functionality to prevent the user from taking ScreenShot only works in Android.Functionality to detect a ScreenShot taken work for both, iOS and Android. (see this post).
It works just in the native apps installed in devices, you will not be able to test it in Browser or PWA.
You can keep the default behavior as you want, to enable or disable it for all app, and override it for just one specific screen.
This way you may be able to either, disable this functionality to all app in an easy way or let it enabled for all app and just block in a specific screen
Adding Check Plugin action that can be used to make sure the component is avaliable before callings its actions