kyc_flutter 0.2.3
kyc_flutter: ^0.2.3 copied to clipboard
A drop-in Flutter KYC / face-liveness camera flow: framing captures plus optional blink, smile and head-turn challenges.
0.2.3 #
- Added
DetectionConfig.mirrorFrontCamera(defaulttrue). It is applied to both the live preview and the saved photos, fixing captured images coming out horizontally flipped compared to what the user saw in the preview.
0.2.2 #
- The camera loading state now uses the overlay's bottom progress bar
(indeterminate while the camera starts) instead of camerawesome's default
CircularProgressIndicator, which picked up the host app's theme colour and sat off-centre from the face oval. - Removed the Android troubleshooting note about AGP 9.x: the face-detection flow has been verified working on AGP 9.3.1.
0.2.1 #
- Added
topics(kyc, camera, face-detection, liveness, biometrics) topubspec.yamlto improve discoverability on pub.flutter-io.cn. - Cleaned up the placeholder copyright line in
LICENSEso pub.flutter-io.cn correctly detects the MIT license instead of showing "unknown".
0.2.0 #
- Breaking: renamed the
KYC-prefixed public types toKycfor naming consistency —KYCFlutter→KycFlutter,KYCStep→KycStep. Update call sites, e.g.KycFlutter.instance.startKyc(...)andsteps: [KycStep.blink]. - Removed the
uuiddependency — captured-image file names are now generated internally, shrinking the package's dependency footprint. - Added an Android troubleshooting note: AGP 9.x breaks the ML Kit face-detection native library; pin AGP to the stable 8.x line.
- Added a demo GIF to the README.
0.1.0 #
Initial release.
- One-call API:
KycFlutter.instance.startKyc(context, config: ...). - Mandatory look-straight framing captures (far, then near) run first.
- Optional liveness challenges: blink, smile, turn left, turn right.
- Structured
KycResultoutput with a status (success/cancelled/timeout) and images tagged by capture type and liveness step. - Fully customizable on-screen text via
KycStrings(English by default). - Configurable thresholds and hold durations via
DetectionConfig, includingsmileThreshold.