Skip to content

Tablu-Tech/modi-flutter-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modi_kyc_sdk

Flutter SDK for:

  • Face liveness
  • Document OCR capture
  • Face matching

Install in another app

Option 1: Git (private repository)

dependencies:
  modi_kyc_sdk:
    git:
      url: git@github.com:YOUR_ORG/modi_kyc_sdk.git
      ref: main

Option 2: Local path (development)

dependencies:
  modi_kyc_sdk:
    path: ../modi_kyc_sdk

Option 3: pub.dev (public)

dependencies:
  modi_kyc_sdk: ^0.1.0

Quick usage

final 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!,
);

License handling

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.

Notes

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages