Flutter SDK for:
- Face liveness
- Document OCR capture
- Face matching
dependencies:
modi_kyc_sdk:
git:
url: git@github.com:YOUR_ORG/modi_kyc_sdk.git
ref: maindependencies:
modi_kyc_sdk:
path: ../modi_kyc_sdkdependencies:
modi_kyc_sdk: ^0.1.0final sdk = ModiKycSdk();
await sdk.initialize();
final live = await sdk.startLiveness();
if (!live.passed) return;
final ocr = await sdk.scanDocument();
if (!ocr.success) return;
final similarity = await sdk.matchFaces(
firstImageBytes: live.imageBytes!,
secondImageBytes: ocr.portraitImageBytes!,
);The package is configured to load the license from:
packages/modi_kyc_sdk/assets/regula.license(default)assets/regula.license(fallback)
Before release, replace assets/regula.license placeholder with the real vendor license.
- This package does not include UI screens. It provides reusable APIs for any Flutter app.
- You can build your own screens or create a second package (
modi_kyc_ui) with ready-made widgets.