screen_guard 0.0.4
screen_guard: ^0.0.4 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.4 #
- Rename iOS podspec to
screen_guardfor consistency.
0.0.3 #
- Rename package from
secure_screentoscreen_guard. - Add Android namespace for AGP 8+ compatibility.
- Add branch protection and repo security.
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_SECUREviaWindowManager. - iOS: prevents screenshots using the UITextField secure layer technique.
- API:
ScreenGuard.enable(),ScreenGuard.disable(),ScreenGuard.setSecure(bool).