Limitation
-
From
v0.3.6
and above, callbacks will not be activated on all functions. You may have to activate it yourself by using registerScreenshotEventListener or registerScreenRecordingEventListener instead. -
This library support blocking screenshot for iOS 13+, Android 8+ only.
-
Remember to call a function only ONCE and don't combine with other register functions for limitting errors and unexpected problems might happened during testing.
-
Please remember that text input will be temporary disabled until calling
unregister
on Android exceptregisterWithoutEffect
. Workaround: You can use your own custom-made keyboard if included in your project, or find some react native libs which provide custom keyboard ui likewix/react-native-ui-libs
could solve this.