flutter_screenshot_detector 1.0.1
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
configureno longer throws aMissingPluginException. - Document
AndroidLegacyMode.none, which disables detection on Android 13 and older.
1.0.0 #
- Add
AndroidLegacyMode.noneto disable Android 13 and older detection. - Keep Android 14+ native
DETECT_SCREEN_CAPTUREdetection.
0.0.4 #
- Add configurable Android 13 and older fallback modes:
focusHeuristicandmediaStore. - Add delayed
false -> truefocus confirmation forfocusHeuristicmode.
0.0.3 #
- Replace Android 13 and older
MediaStorefallback 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.