flutter_app_shield 0.2.0
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 #
AppShieldControllerfor runtime lock / unlock / screenshot toggles- Screenshot and screen-recording detection via
listenToCaptureEvents+ callbacks (onScreenshot,onScreenRecordingStarted,onScreenRecordingStopped) CaptureEvent/CaptureDetectorpublic types- Inactivity auto-lock with
inactivityTimeout requireAuthOnLaunchfor biometric/PIN auth at startupSecureScopefor per-page / subtree screenshot prevention (reference-counted)blockOnDeveloperModeseparate fromblockOnJailbreakDeviceSecurity/DeviceSecurityStatushelpers- 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 blockOnJailbreakno longer implicitly blocks Android developer mode- Bumped package description and documentation for the 0.2 API
Breaking #
blockOnJailbreak: truealone no longer blocks Android developer mode — setblockOnDeveloperMode: trueif you need the previous combined behavior
0.1.6 #
Changed #
- Widened
no_screenshotconstraint to>=1.2.0 <3.0.0so the latest stable (2.x) is supported (restores the missing 10 pub.dev dependency points) - Added
repository,issue_tracker, andtopicstopubspec.yaml - Updated GitHub links to the renamed repository (
flutter_app_shield) - Added library-level dartdoc comment
- Fixed README examples to use
AppShieldinstead of the oldPrivacyShieldname
0.1.5 #
Changed #
- Updated
no_screenshotdependency constraint to^1.1.0to support the latest stable release - Replaced broken
Popularitybadge in README withPub Pointsbadge (popularity metric was removed from pub.dev)
0.1.4 #
Changed #
- Updated
local_authdependency to support version 3.0.0+ - Refactored authentication logic to match the latest
local_authAPI changes:- Removed deprecated
options: AuthenticateOptions(...) - Passed
stickyAuthandbiometricOnlydirectly as named parameters toauthenticate()
- Removed deprecated
Fixed #
- Resolved compilation errors caused by breaking changes in
local_auth3.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
PrivacyShieldtoAppShieldfor better alignment with package name - Updated all dependencies to their latest stable versions:
secure_applicationto latestno_screenshotto latestflutter_jailbreak_detectionto latestlocal_authto latest
Fixed #
- Minor code cleanups and improvements for better readability and performance
0.1.2 #
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