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

A Flutter plugin to enhance screen security by preventing screenshots and recordings on Android, providing screenshot event notifications on iOS, and enabling app switch screen blur/whiteout.

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 #

Screenshot Enabled/Disabled App Switch Blur

iOS #

Normal UI Screenshot Taken Dialog

📦 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
0
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to enhance screen security by preventing screenshots and recordings on Android, providing screenshot event notifications on iOS, and enabling app switch screen blur/whiteout.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on screen_security_kit

Packages that implement screen_security_kit