FLUTTER ECOSYSTEM

screen_capture_event

Catch screen capture (Screenshot & Screen Record) event for Android and iOS

Latest version
1.2.0
30-day downloads
19.2K
Likes
107
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The screen_capture_event package enables Flutter applications to detect when a user takes a screenshot or starts a screen recording on Android and iOS devices. It provides a simple event-driven API to respond to these system-level actions, allowing developers to implement features like content protection, usage tracking, or user feedback. The package integrates seamlessly with native platform capabilities through platform channels, ensuring reliable detection across both major mobile operating systems. It is particularly useful for apps that handle sensitive or copyrighted content.

Use cases
  • Detecting screenshots for content protection
  • Tracking screen recording activity
  • Implementing anti-piracy measures
  • Enhancing user experience with real-time feedback
  • Monitoring app usage in secure environments
Key features
  • Cross-platform support (Android & iOS)
  • Real-time event detection
  • Simple event listener API
  • Native integration via platform channels
  • Lightweight and minimal dependencies
Suitable for
  • Apps with sensitive content
  • Educational or premium media apps
  • Security-focused applications
  • Developers needing screen capture awareness
  • Applications requiring compliance with content protection policies
Considerations
  • Requires appropriate permissions on Android
  • Limited to detecting events, not preventing them
  • May not work on all device models or OS versions
  • Behavior can vary between platforms
  • Not suitable for blocking screen capture directly
Supported platformsAndroidiOS

Install package

flutter pub add screen_capture_event

Categories

Related projects

No data available yet.