screen_guard 0.0.2 copy "screen_guard: ^0.0.2" to clipboard
screen_guard: ^0.0.2 copied to clipboard

A Flutter plugin to prevent screenshots and screen recording on Android and iOS. Uses FLAG_SECURE on Android and the UITextField secure layer trick on iOS.

0.0.2 #

  • Add example app.
  • Add library-level dartdoc comment.
  • Fix iOS deprecated UIApplication.shared.windows — use window scene API on iOS 15+.
  • Fix iOS layer restoration reliability.

0.0.1 #

  • Initial release.
  • Android: prevents screenshots using FLAG_SECURE via WindowManager.
  • iOS: prevents screenshots using the UITextField secure layer technique.
  • API: ScreenGuard.enable(), ScreenGuard.disable(), ScreenGuard.setSecure(bool).
7
likes
0
points
496
downloads

Publisher

verified publisheranas3ez.dev

Weekly Downloads

A Flutter plugin to prevent screenshots and screen recording on Android and iOS. Uses FLAG_SECURE on Android and the UITextField secure layer trick on iOS.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on screen_guard

Packages that implement screen_guard