flutter_device_guard 1.0.0
flutter_device_guard: ^1.0.0 copied to clipboard
Detect device integrity issues (root, jailbreak, emulator, VPN, mock location, debugger, screen recording) on Android and iOS for fintech security.
1.0.0 #
- Initial release.
- Emulator / Simulator detection — Android & iOS.
- Root detection — Android (su binary, Magisk, root packages, SELinux).
- Jailbreak detection — iOS (Cydia, suspicious files, dylib injection, write tests).
- VPN detection — Android (ConnectivityManager) & iOS (proxy settings).
- Mock location detection — Android (mock permission, provider flags) & iOS (simulator check).
- Screen recording detection — Android (running services) & iOS (
UIScreen.isCaptured). - Debugger detection — Android (
Debug.isDebuggerConnected, TracerPid) & iOS (sysctlP_TRACED). - Configurable caching with
DetectionCache. DeviceGuardConfigfor customisation (cache expiry, monitoring interval, threat selection).- Continuous monitoring via
monitorThreats()andmonitorThreat()streams. DeviceIntegrityReportwith filtering by severity and threat type.DetectionResult<T>wrapper for granular error handling.- Comprehensive unit tests for models, cache, config, and singleton.