flutter_liveness_detection_randomized_plugin 1.1.0
flutter_liveness_detection_randomized_plugin: ^1.1.0 copied to clipboard
A Flutter plugin for liveness detection with randomized challenge response method
1.1.0 π #
BREAKING CHANGES #
- π API Refactor: All parameters now consolidated into
LivenessDetectionConfig - π¦ Simplified API:
livenessDetection()method now only requirescontextandconfig - π οΈ Migration Required: Update your implementation to use the new unified config approach
New Features #
- β±οΈ NEW: Automatic cooldown feature after 3 failed verification attempts. 10-minute waiting period with persistent countdown (survives app restarts).
enableCooldownOnFailureparameter to control cooldown feature
Bug Fixes #
- π οΈ Fixed customizedLabel logic: Corrected skip challenge behavior (empty string now properly skips)
- β
Added validation:
customizedLabelmust not be null whenuseCustomizedLabelis true - π Improved consistency: Unified steps handling logic across the codebase
Other Changes #
- β
Moved
isEnableSnackBarto config - β
Moved
shuffleListWithSmileLastto config - β
Moved
showCurrentStepto config - β
Moved
isDarkModeto config - Update compile sdk and Gradle version for example & change deprecated .withOpacity(0.2) to .withAlpha(51) (Thanks to https://github.com/erikwibowo)
Migration Guide: #
Before (v1.0.x):
await plugin.livenessDetection(
context: context,
config: LivenessDetectionConfig(...),
isEnableSnackBar: true,
shuffleListWithSmileLast: true,
showCurrentStep: true,
isDarkMode: false,
);
After (v1.1.0+):
await plugin.livenessDetection(
context: context,
config: LivenessDetectionConfig(
isEnableSnackBar: true,
shuffleListWithSmileLast: true,
showCurrentStep: true,
isDarkMode: false,
// ... other parameters
),
);
1.0.8 π #
- π¦ Add packagingOptions with useLegacyPackaging for Android compatibility
- π οΈ Fix InputImageConverterError for unsupported image formats
- π· Add configurable camera resolution preset (cameraResolution parameter)
- β‘ Improved error handling for ML Kit face detection
- π§ Platform-specific image format optimization (NV21 for Android, BGRA8888 for iOS)
1.0.7 π #
- β‘ Update google_mlkit_face_detection for better compability to newest flutter version
1.0.6 π #
- π οΈ Fix issue camera preview freeze while start liveness detection
- π¨ Face preview now looks better, no longer stretching
- π¨ Add parameter to adjust image quality liveness result
1.0.5 π #
- π οΈ Improve security liveness challenge
- π¨ Add set to max brightness option
- π οΈ Update readme.md
1.0.4 π #
- β‘ Improved performance during liveness challenge verification
- π Customizable liveness challenge labels
- β³ Flexible security verification duration
- π² Adjustable number of liveness challenges
1.0.3 π #
- π οΈ Adjust to compatible camera dependency to prevent face not found
- π Ajdust threshold for smile and look down challenge
- π¨ Add showCurrentStep parameter (default : false)
- π¨ Add Light and Dark mode
1.0.1 π #
Update dependencies π οΈ #
- π οΈ Update camera dependencies and also add camera_android_camerax for better experience while using liveness detection
1.0.0 π #
Introducing Flutter Liveness Detection Randomized Plugin! #
β¨ First Major Release Highlights:
- π― Smart Liveness Detection System
- π² Dynamic Random Challenge Generator
- π Enhanced Security Protocols
- π± Cross-Platform Support (iOS & Android)
- β‘ Real-time Processing
- π¨ Sleek & Modern UI
- π οΈ Developer-Friendly Integration
Ready to revolutionize your biometric authentication? Let's make your app more secure! πͺ