smartverify_biometric 1.0.7
smartverify_biometric: ^1.0.7 copied to clipboard
Flutter biometric facial capture and anti-spoofing liveness verification SDK for SmartVerifyNG. Guides users through on-device liveness checks and validates captured faces against the SmartVerify liveness API.
1.0.7 #
- Update default production API endpoint and documentation domain to
https://smartverify.me(https://smartverify.me/api/v1/verify/liveness).
1.0.6 #
- Fix choppy/overlapping Text-to-Speech voice prompts: track active TTS utterance completion, queue milestone transitions cleanly instead of cutting off mid-sentence, enforce minimum spacing between prompts, and debounce brief face-alignment flickers.
- Never display merchant-side billing/auth errors (
401invalid key,402insufficient wallet balance) or a pointless Retry prompt to end customers — instead immediately close and deliver the exacterrorCodeand providermessagetoonComplete. - Show clean, customer-friendly retry messages on screen for transient unavailability (
5xx,429, network, timeout) while preserving the full provider APImessageinsideSmartVerifyLivenessResult.
1.0.5 #
- Fix README logo and preview image URLs on pub.dev by switching to verified live
unpkg.comCDN links (resolving a stale 404 cache from jsDelivr during initial npm indexing).
1.0.4 #
- Display the official SmartVerifyNG biometric shield logo and wordmark (
SmartVerifyLogo) in the capture screen footer. - Add the official SmartVerifyNG logo banner and updated branded preview screenshot to
README.mdandpub.devscreenshots.
1.0.3 #
- Add biometric capture screen preview screenshot to
pubspec.yaml(screenshots) andREADME.mdso developers can preview the verification UI on pub.dev.
1.0.2 #
- Fix false-positive smile readings where resting/neutral faces could spike to 100% or pass without smiling:
- Raised default
smileThresholdto0.75and required sustained smiling (minSmileFrames: 4,minStableFrames: 3) with exponential smoothing (alpha = 0.35). - Smile probability is now tracked only while the face is properly aligned inside the circle and resets when alignment is lost.
- Raised default
- Add spoken Text-to-Speech voice guidance prompts (
flutter_tts) guiding users aloud through face centering, smiling, opening eyes, and blinking. - Add an AppBar mute/unmute voice toggle button and configurable
enableVoicePrompts,showVoiceToggle,voiceLanguage, andvoiceSpeechRateoptions inSmartVerifyCaptureOptions.
1.0.1 #
- Capture the final biometric photo directly from the live camera stream during the aligned smile / open-eyes liveness moment instead of waiting for a delayed post-blink shutter (
takePicture), preventing face-shift or motion artifacts after liveness completes. - Freeze the circular preview on the captured direct-face image while uploading to SmartVerify.
- Add cross-platform NV21, YUV420, and BGRA8888 stream frame conversion with proper sensor orientation correction and background isolate JPEG encoding.
1.0.0 #
- Initial release of
smartverify_biometric. - Public-key initialization (
SmartVerifyBiometric.initialize) with built-in guard rejecting secret keys (sk_...). - On-device guided biometric facial capture screen (
SmartVerifyCaptureScreen) with real-time face alignment, smile detection, and blink verification via ML Kit. - Automatic secure capture and submission to the SmartVerifyNG Liveness Check API (
POST /api/v1/verify/liveness) using theX-PUBLIC-KEYheader. - Webhook-first security model:
onCompletedelivers only the submission status, transactionreference, and clear providermessagewithout exposing liveness verdicts or scores to the client app (full results are delivered exclusively to your server-side webhook). - Configurable error retry handling and customizable theming (
SmartVerifyTheme) and capture options (SmartVerifyCaptureOptions).
