sprintliveness 0.1.6
sprintliveness: ^0.1.6 copied to clipboard
A Flutter plugin for face liveness detection. Supports real-time face detection, randomized challenges (smile, blink, head rotation), and works on Android, iOS, Web, and Desktop.
0.0.1 #
initial pulish
- TODO: Describe initial release.
0.0.2 #
bug fixed
0.0.3 #
- Fixed iOS Head Up/Down Movement Detection issue
- Corrected pitch angle handling for iOS front camera by accounting for mirrored coordinate system
- Fixed iOS Left/Right Movement Detection issue
- Corrected yaw angle handling for iOS front camera to complete full axis correction
- Improved liveness action detection reliability on iOS devices
- Documentation updates and improvements
0.0.4 #
- Removed google_mlkit_face_mesh_detection dependency (lacks iOS implementation)
- Migrated to use google_mlkit_face_detection exclusively for all face detection features
- Fixed MissingPluginException by using FaceDetector with full feature support
- Enabled contours, landmarks, classification, and tracking in FaceDetector
- Removed face_mesh_utils.dart file (no longer needed)
- Updated liveness_screen.dart to use native Face properties directly
- Updated mobile_face_detector_service.dart to use FaceDetector API
- Simplified code by using built-in headEulerAngleX, headEulerAngleY, smilingProbability, and eye probabilities
- All liveness detection features work without face mesh dependency
- Fixed MLKInvalidImage error on iOS by correcting YUV420 format mapping
- Updated InputImageFormat mapping to use InputImageFormat.yuv420 for iOS instead of nv21
- Added platform-specific handling for iOS YUV420 2-plane format (Y + CbCr)
- Resolves app crash when processing camera images on iOS devices
- Fixed "Could not detect a face in the final image" error on iOS
- Removed final face detection on captured image (ML Kit limitation on iOS front camera)
- Liveness challenges verify face presence in real-time, so final image detection is not needed
- Improved reliability by trusting real-time face detection during challenges
0.0.5 #
- Migrated iOS implementation to native Apple Vision Framework for full arm64 simulator support.
- Fixed architecture compatibility issues on Apple Silicon (M1/M2/M3/M5) Macs.
- Removed requirement to exclude arm64 architecture in Podfile.
- Increased minimum iOS deployment target to 15.5 for better compatibility with modern ML libraries.
- Standardized coordinate mapping between Vision (iOS) and ML Kit (Android) for consistent liveness detection.
- Updated example app with required versioning and deployment settings for App Store submission.
- Improved overall stability and reduced plugin binary size on iOS.
0.0.9 #
- Migrate to latest flutter and dependencies
0.1.0 #
- Migrate to latest flutter and dependencies
0.1.1 #
- fix some difficulty in liveness check
0.1.2 #
- Added Clock In feature with geofencing and face verification.
- Integrated optional
onProcesscallback for app-side processing. - Added environment brightness detection and flashlight support.
- Relaxed face alignment thresholds for better user experience.
- Dynamic UI customization for clock-in screen.
0.1.3 #
- Improved location error handling with a new guidance dialog.
- Automatic redirection to device settings (GPS/Permissions) when needed.
- Enforced mandatory coordinates in
ClockInConfigwhenskipLocationis true. - Refined reverse geocoding and data flow for app-side processing.
- Updated example app with all required platform-specific permissions.
- Various UI and UX refinements for a smoother clock-in flow.
0.1.4 #
- Upgraded Kotlin to 2.2.20 for improved build performance and compatibility.
- Upgraded Gradle to 8.14.0.
- Modernized
example/android/app/build.gradle.ktsusing the latestcompilerOptionsDSL andandroidResources.localeFilters. - Improved build stability for newer Android development environments.
0.1.5 #
- Fixed
CameraExceptionduring image capture by adding safety checks forisStreamingImages. - Improved camera lifecycle management to prevent race conditions when starting/stopping the image stream.
- Enhanced robustness of camera cleanup in both
ClockInScreenandLivenessScreen.
0.1.6 #
- Added reverse geocoding to include physical address in the Clock-In payload.
- Re-added
currentLatitudeandcurrentLongitudetoClockInConfigfor flexible location reporting.