Skip to main content

flutter_app_shield 0.2.0 copy "flutter_app_shield: ^0.2.0" to clipboard
flutter_app_shield: ^0.2.0 copied to clipboard

Flutter security wrapper: screenshot/recording prevention, capture detection, biometric lock, inactivity auto-lock, and per-screen SecureScope.

0.2.0 #

Added #

  • AppShieldController for runtime lock / unlock / screenshot toggles
  • Screenshot and screen-recording detection via listenToCaptureEvents + callbacks (onScreenshot, onScreenRecordingStarted, onScreenRecordingStopped)
  • CaptureEvent / CaptureDetector public types
  • Inactivity auto-lock with inactivityTimeout
  • requireAuthOnLaunch for biometric/PIN auth at startup
  • SecureScope for per-page / subtree screenshot prevention (reference-counted)
  • blockOnDeveloperMode separate from blockOnJailbreak
  • DeviceSecurity / DeviceSecurityStatus helpers
  • Unit tests for controller, inactivity watcher, device policy, and prevention ref-counting
  • Stronger example demo with event log and SecureScope page

Changed #

  • Split library into lib/src/ modules with a clean public export surface
  • blockOnJailbreak no longer implicitly blocks Android developer mode
  • Bumped package description and documentation for the 0.2 API

Breaking #

  • blockOnJailbreak: true alone no longer blocks Android developer mode — set blockOnDeveloperMode: true if you need the previous combined behavior

0.1.6 #

Changed #

  • Widened no_screenshot constraint to >=1.2.0 <3.0.0 so the latest stable (2.x) is supported (restores the missing 10 pub.dev dependency points)
  • Added repository, issue_tracker, and topics to pubspec.yaml
  • Updated GitHub links to the renamed repository (flutter_app_shield)
  • Added library-level dartdoc comment
  • Fixed README examples to use AppShield instead of the old PrivacyShield name

0.1.5 #

Changed #

  • Updated no_screenshot dependency constraint to ^1.1.0 to support the latest stable release
  • Replaced broken Popularity badge in README with Pub Points badge (popularity metric was removed from pub.dev)

0.1.4 #

Changed #

  • Updated local_auth dependency to support version 3.0.0+
  • Refactored authentication logic to match the latest local_auth API changes:
    • Removed deprecated options: AuthenticateOptions(...)
    • Passed stickyAuth and biometricOnly directly as named parameters to authenticate()

Fixed #

  • Resolved compilation errors caused by breaking changes in local_auth 3.0.0
  • Ensured compatibility with the most recent stable version of local_auth

This update maintains full functionality while keeping the package up-to-date with dependency changes.

0.1.3 #

Added #

  • Full DartDoc documentation for all public APIs (including class, constructor, and parameters)
  • Comprehensive example app in example/ folder demonstrating all features

Changed #

  • Renamed main widget from PrivacyShield to AppShield for better alignment with package name
  • Updated all dependencies to their latest stable versions:
    • secure_application to latest
    • no_screenshot to latest
    • flutter_jailbreak_detection to latest
    • local_auth to latest

Fixed #

  • Minor code cleanups and improvements for better readability and performance

0.1.2 #

Added #

  • Added runnable example/ folder with a complete demo app

Changed #

  • Major README improvements: better formatting, clearer installation/usage instructions, customization examples, and testing tips

0.1.1 #

Changed #

  • Updated README with detailed usage, features, and configuration examples
  • Improved documentation and structure for better user experience

0.1.0 #

Added #

  • Initial release
  • Core features:
    • Screenshot and screen recording prevention
    • Background blur in app switcher
    • Optional biometric/PIN authentication on resume
    • Optional block on rooted/jailbroken devices
    • Customizable lock and compromised device screens
    • Max authentication attempts with optional app exit
4
likes
160
points
131
downloads

Documentation

API reference

Publisher

verified publisheragrindigital.ir

Weekly Downloads

Flutter security wrapper: screenshot/recording prevention, capture detection, biometric lock, inactivity auto-lock, and per-screen SecureScope.

Repository (GitHub)
View/report issues

Topics

#security #privacy #screenshot #biometric #jailbreak

License

MIT (license)

Dependencies

flutter, flutter_jailbreak_detection, local_auth, no_screenshot, secure_application

More

Packages that depend on flutter_app_shield