device_security_check 0.1.0
device_security_check: ^0.1.0 copied to clipboard
A Flutter plugin that provides comprehensive device security checking capabilities for both iOS and Android devices. Detect rooted/jailbroken devices, developer mode, and other security compromises.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2024-12-19 #
Added #
- Enhanced
DeviceSecurityCheckWidgetwith custom widgets support - Added required
childparameter for secure device content - Added optional
errorWidgetfor custom compromised device display - Added optional
loadingWidgetfor custom loading states - Added
onStatusChangedcallback for status change notifications - Implemented full-page error display when no custom error widget provided
- Added comprehensive documentation and usage examples
- Added example app demonstrating enhanced widget usage
- Added Android namespace configuration for Gradle 8.1.0 compatibility
- Added plugin registration for proper Flutter plugin auto-discovery
Changed #
- BREAKING:
DeviceSecurityCheckWidgetnow requireschildparameter - BREAKING: Import path simplified -
DeviceSecurityCheckWidgetnow available from main package - Updated all examples and documentation to use simplified import path
- Enhanced widget tests to match new API and avoid timeout issues
- Updated Android build configuration for better compatibility
Fixed #
- Fixed Android build namespace issues
- Fixed widget test timeouts by removing
pumpAndSettle()calls - Fixed plugin registration issues for external app usage
Migration Guide #
- Import Change:
- Old:
import 'package:device_security_check/src/presentation/device_security_check_widget.dart'; - New:
import 'package:device_security_check/device_security_check.dart';
- Old:
- Widget Usage:
- Old:
DeviceSecurityCheckWidget() - New:
DeviceSecurityCheckWidget(child: YourWidget())
- Old:
0.0.1 - 2024-12-19 #
Added #
- Initial release of device_security_check plugin
- Android root detection capabilities
- iOS jailbreak detection capabilities
- Developer mode detection for both platforms
- Basic
DeviceSecurityCheckAPI withisDeviceSecure()andgetDeviceSecurityStatus() - Unit and widget tests
- Basic documentation and examples