Adhere Flutter SDK
A powerful Flutter package for Adhere identity verification and facial liveness detection. Our SDK delivers a drop-in UI that seamlessly orchestrates BVN/NIN verification (Nigeria), Document parsing (International), and video-based ML Kit facial liveness challenges.Features
- Drop-in UI Integration —
sdk.open(context)launches our polished UI module natively on top of your app. - Dynamic Client Configuration — Fetches available document types securely from your Adhere Dashboard rules.
- One-Time Use Policy System — Verifications are securely bound utilizing a single-use parameter.
- Identity Onboarding — Verifies BVN & NIN directly via national APIs, or scans Passports & National ID Cards.
- Liveness Detection: A passive face scan (blink plus natural head movement) with a 20 second cap, backed by Google ML Kit. The actions are never named to the user.
Installation
In your app’spubspec.yaml:
flutter pub get.
Platform Setup
Android
Inandroid/app/src/main/AndroidManifest.xml, ensure your app has permission to access the camera:
android/app/build.gradle:
iOS
Inios/Runner/Info.plist, declare the camera usage description:
Quick Start (Recommended)
The simplest way to integrate our SDK is to use the full wrapper widget. Upon launching, the SDK will automatically prompt the user for their Client ID.- Shows an initial Client ID input screen.
- Identifies the user’s origin and prompts for ID types (BVN, NIN, Passport, etc).
- Requests camera permissions.
- Guides the user through liveness face capturing.
- Securely revokes the session to enforce single-use policy.

