flutter_liveness_detection_randomized_plugin 1.1.0 copy "flutter_liveness_detection_randomized_plugin: ^1.1.0" to clipboard
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 requires context and config
  • πŸ› οΈ 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). enableCooldownOnFailure parameter to control cooldown feature

Bug Fixes #

  • πŸ› οΈ Fixed customizedLabel logic: Corrected skip challenge behavior (empty string now properly skips)
  • βœ… Added validation: customizedLabel must not be null when useCustomizedLabel is true
  • πŸ”„ Improved consistency: Unified steps handling logic across the codebase

Other Changes #

  • βœ… Moved isEnableSnackBar to config
  • βœ… Moved shuffleListWithSmileLast to config
  • βœ… Moved showCurrentStep to config
  • βœ… Moved isDarkMode to 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.2 πŸš€ #

Update README.md #

  • πŸ› οΈ Update readme.md file

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! πŸ’ͺ