flutter_shield 1.1.4
flutter_shield: ^1.1.4 copied to clipboard
A comprehensive device security and vulnerability detection package for Flutter applications on Android and iOS.
Changelog #
All notable changes to Flutter Shield are documented in this file. Format follows Keep a Changelog.
1.1.4 - 2026-05-06 #
Bug Fixes #
- Performance —
performFullSecurityCheck()now runs all 31 checks in parallel usingFuture.wait()instead of sequentially, significantly reducing total scan time - Type Safety —
SecurityCheckResult.fromMap()now properly casts thedetailsfield usingMap<String, dynamic>.from(), preventing potential runtime type errors when native code returns nested maps - Stale Test — Kotlin unit test updated to verify the correct
notImplemented()behavior instead of testing the non-existentgetPlatformVersionmethod - Analyzer Warning — Removed unused
platformvariable and its dangling import influtter_shield_method_channel_test.dart - Dependencies — Removed three unused dependencies (
path_provider,shared_preferences,device_info_plus) frompubspec.yaml, reducing package weight and transitive dependency graph
Example App — Full UI Redesign #
- Dark-themed design system with radial gradient background (
#0A0E1A) - Animated shield hero with pulsing glow aura on the home screen
- Radial scan animation with rotating icon during active scan
- Security score ring — animated arc (CustomPainter) that reveals the score from 0 on load
- Dynamic score label: Well Protected / Moderate Risk / High Risk / Critical Risk
- Three-column stats row: Passed · Failed · Total
- Results grouped into 7 security categories, each with inline progress bar and issue count
- Expandable category sections with smooth
AnimatedSizetransitions - Per-check PASS / FAIL badges with tap-to-expand messages
- Six quick-check grid cards on the home screen
- Bottom sheet for quick-check results with status badge and message card
- Slide-in page transition (380 ms,
easeOutCubic) - Migrated all
Color.withOpacity()calls to the modernColor.withValues(alpha:)API
1.1.2 - 2026-01-02 #
Initial Release #
Features
- Complete coverage of 31 security vulnerabilities
- Support for both Android and iOS platforms
- Comprehensive security reporting via
SecurityReport - Individual check methods for targeted testing
- Full security scan via
performFullSecurityCheck()
Device Integrity
- Root / Jailbreak detection with three independent methods
- Debuggable app detection
- USB debugging status check (Android)
- Emulator / Simulator detection
- Basic malware exposure detection
Storage Security
- Local storage security analysis
- Plaintext data detection
- Keychain / Keystore validation framework
- File permissions checking
- External storage analysis
- Backup configuration checking
Authentication
- Biometric handling validation
- Biometric bypass detection
- Screen lock enforcement checking
UI Security
- Screenshot restriction checking
- Screen recording detection (active capture check on iOS)
- Clipboard security analysis
- Overlay attack detection framework
- Background data exposure checking
- Recent apps exposure detection
Communication
- IPC security analysis
- Intent hijacking detection (Android)
- Broadcast receiver exposure checking (Android)
- Deep link security validation
WebView Security
- WebView debugging detection
- JavaScript interface security checking
Permissions & Runtime
- Runtime permission validation
- Autofill security checking
- Sensor abuse detection framework
Other
- Device time trust validation
- Side-channel attack detection framework
Platform Support
- Android: API 21+ (Android 5.0 Lollipop and above)
- iOS: 12.0+