Package selection guidance compiled from public package information, community data, and project usage.
Screen Protector is a Flutter package that safeguards sensitive data by preventing unauthorized screenshots when the app runs in the background on both Android and iOS. It leverages platform-specific mechanisms to detect and block screenshot attempts, reducing the risk of data leakage. Ideal for apps handling confidential information such as banking, healthcare, or secure messaging, it enhances security without requiring complex implementation. The package integrates seamlessly with Flutter projects via a simple pub add command.
Use cases
Protecting sensitive user data in financial apps
Preventing screen capture in healthcare applications
Securing confidential communications
Blocking screenshots during app backgrounding
Enhancing privacy in enterprise mobile solutions
Key features
Prevents background screenshots on Android and iOS
Uses native platform APIs for reliable detection
Minimal integration effort with Flutter
Supports both Android and iOS platforms
Automatic screenshot blocking when app is minimized
Suitable for
Apps handling sensitive personal information
Enterprise-grade security requirements
Privacy-focused applications
Mobile banking and payment platforms
Secure messaging and communication tools
Considerations
May not work on all devices due to OS restrictions
Requires proper permission handling
Limited effectiveness against physical camera capture
Potential impact on user experience if overused
Not a substitute for end-to-end encryption
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
screen_protector
Safe Data Leakage via Application Background Screenshot and Prevent Screenshot for Android and iOS.
Important (Breaking Change)
Versions 1.4.4 through 1.4.13 may cause crashes on some devices. Please use version 1.4.3 or earlier, or upgrade to version 1.5.1 or later.