ekyc_plugin 1.0.8
ekyc_plugin: ^1.0.8 copied to clipboard
A Flutter plugin that provides native eKYC functionality for Android and iOS. Features include face liveness detection, camera flash support, and document verification with seamless integration into F [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.8 - 2026-10-08 #
Added #
LivenessViewtakes optionalsessionKeyandsessionId, used to sign the captured images.ExtractedLiveness.tsMs: the timestamp both images were signed with. Send it asbackend_ts_ms.
Fixed #
- Android: Kotlin compile errors in
LivenessView.kt. - Android: apps that also use LiteRT no longer fail with "Duplicate class org.tensorflow.lite...". The plugin now depends on LiteRT 1.4.0 instead of
org.tensorflow:tensorflow-lite-support:0.4.3. - iOS: Swift compile errors in
LivenessView.swift. - iOS: no longer pins
TensorFlowLiteSwift2.10.0 orGoogleMLKit/FaceDetection, which conflicted with apps on TensorFlow Lite 2.12. Depends onGoogleToolboxForMac, which the SDK links at launch. - iOS: only the precompiled
liveness.metallibships; the raw.metalsources caused "duplicated symbols" underuse_frameworks!.
Changed #
- Updated native SDK binaries (Android AAR, iOS xcframework).
1.0.0 - 2025-12-02 #
Added #
- Initial release of eKYC Plugin
- Native face liveness detection for Android and iOS
LivenessViewwidget for easy integration- Camera flash support with configurable
isFlashparameter ExtractedLivenessdata model with base64-encoded images- Complete Android integration with Platform Views support
- Complete iOS integration with TensorFlow Lite
- Base64 image extraction for:
- Original face image
- Color-processed liveness image
- SDK color information for anti-spoofing
- Comprehensive documentation with integration guides
- Example application demonstrating full implementation
- Support for Android API 23+ (Android 6.0+)
- Support for iOS 13.4+
Features #
- Face Liveness Detection: Real-time detection of live human faces vs. photos/videos
- Camera Integration: Native camera handling with flash control
- Platform Views: Seamless native UI integration in Flutter apps
- TensorFlow Lite: Powered by TensorFlow Lite for accurate face detection
- Cross-platform API: Unified API for both Android and iOS
- Anti-spoofing: Built-in color detection for enhanced security
Documentation #
- Complete README with installation and usage instructions
- Detailed Android integration guide with Gradle configuration
- Detailed iOS integration guide with Podfile setup
- Troubleshooting section for common issues
- Best practices for performance, UX, and security
- API reference for all public classes and methods
- Code examples for basic and advanced usage
Technical Details #
- Minimum Flutter SDK: 3.3.0
- Minimum Dart SDK: 3.3.2
- Android minSdkVersion: 23
- Android compileSdkVersion: 34
- iOS Deployment Target: 13.4
- Kotlin version: 1.9.25
- Swift version: 5.0
Known Limitations #
- Requires physical device for testing (camera functionality)
bridge_nativedependency currently uses local path (needs to be published separately for pub.flutter-io.cn)- iOS Simulator support limited due to TensorFlow Lite architecture constraints