prevent_app_screen 0.1.2 copy "prevent_app_screen: ^0.1.2" to clipboard
prevent_app_screen: ^0.1.2 copied to clipboard

A Flutter plugin to prevent screenshots and screen recordings on Android, iOS, macOS, Windows, Linux, and Web.

0.1.2 #

  • SPM Support: Added support for Swift Package Manager on iOS and macOS.
  • Refactoring: Restructured native code to follow Flutter's recommended SPM directory structure.
  • Privacy: Enabled and properly bundled Privacy Manifest (PrivacyInfo.xcprivacy) for both iOS and macOS via SPM and CocoaPods.

0.1.1 #

  • Multi-Platform Support: Added support for macOS, Windows, Linux, and Web.
  • macOS: Implemented screenshot/recording prevention using NSWindow.sharingType.
  • Windows: Implemented screenshot prevention using SetWindowDisplayAffinity.
  • Linux: Added plugin boilerplate with stub implementation.
  • Web: Added basic deterrent using user-select: none.
  • Maintenance: Updated documentation to reflect cross-platform compatibility.
  • Testing: Expanded unit and method channel test coverage to 100% of the core API.

0.1.0 #

  • New Feature: PreventAppScreen.initialize(bool) for global, app-wide protection.
  • New Feature: FullScreenProtection widget for screen-specific security.
  • New Feature: SpecificWidgetProtection for granular UI masking (Blur/Placeholder).
  • Enhanced Android: Implementation of ScreenCaptureCallback (Android 14+) and DisplayListener for better detection.
  • Enhanced iOS: Improved screen capture and screenshot detection notifications.
  • New UI: Added protectWindow and placeholder features for advanced widget-level control.
  • Documentation: Major README update with visual guides and detailed API docs.
  • Renaming: Standardized naming to "Protection" instead of "Proutect".

0.0.1 #

  • Initial release (renamed to prevent_app_screen).
  • Support for preventing screenshots and screen recordings on Android and iOS.
  • Android implementation using WindowManager.LayoutParams.FLAG_SECURE.
  • iOS implementation using secure UITextField layer trick.
  • iOS App Switcher blurring for increased privacy.
1
likes
160
points
--
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to prevent screenshots and screen recordings on Android, iOS, macOS, Windows, Linux, and Web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on prevent_app_screen

Packages that implement prevent_app_screen