flutter_screenshot_detector 1.0.1 copy "flutter_screenshot_detector: ^1.0.1" to clipboard
flutter_screenshot_detector: ^1.0.1 copied to clipboard

A Flutter plugin that emits an event when the user takes a screenshot on Android or iOS.

1.0.1 #

  • Register the iOS method channel so configure no longer throws a MissingPluginException.
  • Document AndroidLegacyMode.none, which disables detection on Android 13 and older.

1.0.0 #

  • Add AndroidLegacyMode.none to disable Android 13 and older detection.
  • Keep Android 14+ native DETECT_SCREEN_CAPTURE detection.

0.0.4 #

  • Add configurable Android 13 and older fallback modes: focusHeuristic and mediaStore.
  • Add delayed false -> true focus confirmation for focusHeuristic mode.

0.0.3 #

  • Replace Android 13 and older MediaStore fallback with permissionless window focus-change detection.
  • Remove Android media permissions.

0.0.2 #

  • Add Android 14+ screenshot detection through Activity.registerScreenCaptureCallback.
  • Limit Android media permissions to Android 13 and older fallback detection.
  • Document Android 14+ permissionless media behavior.
  • Debounce duplicate iOS screenshot notifications.

0.0.1 #

  • Initial release with Android, iOS, and stream-based Dart screenshot detection.
0
likes
160
points
143
downloads

Documentation

API reference

Publisher

verified publisherpinz.dev

Weekly Downloads

A Flutter plugin that emits an event when the user takes a screenshot on Android or iOS.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_screenshot_detector

Packages that implement flutter_screenshot_detector