screen_protector
screen_protector copied to clipboard
preventScreenshotOn does not work on iOS
Hello, preventScreenshotOn method does not prevent user from screenshot in iOS. Device: Apple iPhone SE(2020) iOS: 16.2
I encountered this problem as well.
This happens on iOS:
MissingPluginException (MissingPluginException(No implementation found for method preventScreenshotOff on channel screen_protector))
From my ecounder with this issue, I found out that preventScreenshotOn
alleviates the prevent screenshot action where the preventScreenshotOff
enforces it. Furthermore, @YawarOsman in order to resolve your error, you might need to kill the app and run it again.
As for me, I am not able to use the preventScreenshot
actions on iOS versions lower than 17.
Does anyone know a workaround for older versions?