screen_capture_restrictions 2.0.2 copy "screen_capture_restrictions: ^2.0.2" to clipboard
screen_capture_restrictions: ^2.0.2 copied to clipboard

A flutter plugins to restrictions to screen capture and recording on mobile platforms.

2.0.2 #

  • [kotlin] Fixed an issue where screen recording end was not correctly detected when no new observer is created on Android 14 and later.

2.0.1 #

  • [kotlin] Added the DETECT_SCREEN_CAPTURE permission required for Android 14 and later.

2.0.0 #

BREAKING CHANGES:

  • [flutter] Migrate from MethodChannel to Pigeon for type safety
  • [flutter] Minimum Dart SDK updated to 3.0.0 (was 2.18.1)
  • [flutter] Minimum Flutter SDK updated to 3.3.0 (was 2.5.0)
  • [kotlin][swift] Complete refactoring of native platform code to use generated Pigeon interfaces
  • [flutter] All async methods now return strongly typed objects instead of dynamic values

Improvements:

  • [flutter] Enhanced type safety across Dart/native boundaries
  • [flutter] Better error handling with exception throwing
  • [kotlin][swift] Generated code ensures API consistency between platforms
  • [flutter] Improved developer experience with compile-time error checking

Migration Guide:

  • Update your minimum Dart SDK constraint to >=3.0.0 <4.0.0
  • Update your minimum Flutter SDK constraint to >=3.3.0
  • No changes required to public API usage - all external interfaces remain the same

1.2.0 #

  • [flutter] Change the naming of authority requests.
  • [kotlin] Only screen recording is detected.

1.1.0 #

  • [flutter] Add screen capture and recording callback handling.
  • [kotlin] Update compileSdkVersion to 34.
  • [kotlin] Support for AGP 8.0.0.

1.0.1 #

  • [swift] Fixed a problem that was preventing it from functioning on IOS 17.

1.0.0 #

  • Initial release
16
likes
150
points
1.14k
downloads

Publisher

verified publishercam-inc.dev

Weekly Downloads

A flutter plugins to restrictions to screen capture and recording on mobile platforms.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on screen_capture_restrictions

Packages that implement screen_capture_restrictions