screen_security_kit 0.0.4 copy "screen_security_kit: ^0.0.4" to clipboard
screen_security_kit: ^0.0.4 copied to clipboard

A Flutter plugin to prevent screenshots/recordings on Android, notify on iOS screenshots, and blur/whiteout app switcher previews.

flutter_screen_security_kit #

A Flutter plugin to improve screen security by managing screenshot behavior and notifying users when screenshots are taken.


🚀 Features #

  • Android

    • Enable/Disable screenshot capturing dynamically.
    • Automatically blurs app preview when switching apps.
  • iOS

    • iOS does not support disabling screenshots.
    • However, this plugin notifies the Flutter app when the user takes a screenshot.

📷 Screenshots (Android, iOS) #

Android #

Screenshots


📦 Installation #

Add the following to your pubspec.yaml:

dependencies:
  screen_security_kit: ^1.0.0
import 'package:screen_security_kit/screen_security_kit.dart';

// Initialize (recommended in main or initState)
await ScreenSecurityKit.initialize();

// Listen for screenshot events
ScreenSecurityKit.onScreenshotTaken.listen((_) {
  print('Screenshot detected!');
});

// Disable screen capture
await ScreenSecurityKit.disableScreenCapture();

// Enable screen capture
await ScreenSecurityKit.enableScreenCapture();

🚀 Example #

Check out the example app here.

🤝 Contribute #

Contributions are welcome!

If you find a bug or have a feature request, feel free to open an issue or submit a pull request. Please follow standard Flutter/Dart formatting and write clear commit messages.

License: MIT

8
likes
150
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to prevent screenshots/recordings on Android, notify on iOS screenshots, and blur/whiteout app switcher previews.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on screen_security_kit

Packages that implement screen_security_kit