secure_content 2.0.0-beta.2
secure_content: ^2.0.0-beta.2 copied to clipboard
Protect Flutter screens with screenshot/recording shielding, biometric re-auth, inactivity lock, integrity checks, risk watermarks, and secure clipboard controls.
2.0.0-beta.2 #
- Added Swift Package Manager (SPM) support for iOS alongside CocoaPods by converting the iOS plugin to pure Swift.
- Moved the generated Pigeon Swift API into the SwiftPM package layout (
ios/secure_content/Sources/secure_content). - Fixed iOS build issues and made
HostApimethods internal to match the Pigeon-generated Swift types. - Pinned the toolchain to Flutter 3.44.3 via FVM and added a
Makefilefor common dev tasks. - Bumped the example Android toolchain to AGP 8.12 / Gradle 8.13 / Java 21.
- Reformatted generated Pigeon code with the Dart 3.12 formatter.
2.0.0-beta.1 #
- Breaking: redesigned API around
SecureContentScope, typed events, and controller-driven global protection. - Breaking: removed legacy
SecureWidget/RouteAwareStateAPI surface. - Breaking: raised minimums to Flutter 3.41+, Dart 3.9+, Android minSdk 23, iOS 13.
- Replaced wrapper-style implementation with package-owned Android/iOS method/event channels.
- Updated Android/iOS build tooling and example app baselines for latest stable Flutter.
- Added Android and iOS biometric re-auth APIs and events.
- Added inactivity auto-lock support through
SecureContentPolicyand scope-level lock overlays. - Added integrity risk checks (root/jailbreak/debugger/emulator heuristics) with soft mode events and hard-block mode behavior.
- Added sensitive clipboard APIs with TTL-based auto-clear and clipboard lifecycle events.
- Added risk-state watermark support (shown during capture/lock/background/integrity risk states).
- Added Android 14+ screenshot callback support and explicit platform documentation.
- Updated Android plugin/tooling setup (AGP, Kotlin, build tools) and improved run/build compatibility.
- Refreshed README and example docs to match v2 API and current feature matrix.
1.0.1 #
- Updated to Flutter v3.29.2
1.0.0 #
- First stable release
- Updated to Flutter v3.22.1
0.1.0 #
- Working for both Android & iOS
- Removed callback methods for Android (no need)
0.0.11 #
- Initial release
- Supports Android & iOS