Skip to content
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

Unable to disable screen recording on iOS #20

Closed
riscait opened this issue Feb 16, 2023 · 3 comments
Closed

Unable to disable screen recording on iOS #20

riscait opened this issue Feb 16, 2023 · 3 comments

Comments

@riscait
Copy link

riscait commented Feb 16, 2023

Thank you for the convenient package.

The feature says "Disables screenshot and screen recoding on Android and iOS" but I could not disable screen recording on iOS.
On Android, the screen can be disabled and a black video is saved.

Is disabling screen recording on iOS planned to be implemented?
Or am I using it incorrectly?

@fonkamloic
Copy link
Contributor

May I know which iOS version you are using?

@riscait
Copy link
Author

riscait commented Mar 1, 2023

@fonkamloic
Thanks for the reply.
We checked with iOS 16.3.1, which is currently the latest version. The "ScreenProtectorKit" that seems to be used in the iOS version has screen recording detection (screenProtectorKit.screenIsRecording), but does not seem to have a function to prohibit screen recording. Is there something running in a separate file?

private func shotOff() {
screenProtectorKit?.enabledPreventScreenshot()
}

ScreenProtectorKit

@fonkamloic
Copy link
Contributor

@riscait try again with this upgrade or higher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants