facecore 0.4.0
facecore: ^0.4.0 copied to clipboard
Self-contained Flutter plugin for camera-based face liveness, depth, and anti-spoof checks before capturing a photo on Android and iOS.
0.4.1 #
- Fix iOS liveness flow freezing on "Capturing..." after all checks pass. The photo capture delegate was deallocated before its callback fired, so no image was ever returned. The delegate is now retained for the capture's lifetime, and a watchdog fails cleanly instead of hanging if a capture stalls.
0.1.0 #
- Initial public release.
- Native liveness capture flow on Android (CameraX + ML Kit Face Detection) and iOS (AVFoundation + Vision).
- Configurable liveness actions: blink, turn left, turn right.
- Optional depth-based anti-spoof check.
- Returns a
FaceCaptureResultwith the captured JPEG path, dimensions, motion standard deviation, and depth range.