FacePlugin
Get in Touch
Flutter

ID Document Recognition SDK for Flutter

A single Flutter plugin for scanning ID cards, passports, and driver licenses on both Android and iOS – OCR, MRZ, and barcode/QR recognition, fully on-device.

Get in Touch View on GitHub
One plugin, Android & iOSFully on-deviceNo per-call fees
PASSPORT• AURORIA
Young bearded man portrait
SURNAME

WILLIAMS

GIVEN NAMES

ETHAN L.

DATE OF BIRTH

22 SEP 1992

DOCUMENT NO.

X8295147

P<AURWILLIAMS<<ETHAN<L<<<<<<<<
X8295147<7AUR9209226M3205184<<<<03
MRZ Verified✓
Barcode Valid✓
OCR Complete✓
Identity Verified
Requirements

What You Need to Run It on Flutter

These are the exact minimum and recommended requirements published in the ID-Document-Recognition-Flutter repository — check the repo directly for the latest version, since SDK requirements can change between releases.

Flutter / DartFlutter ≥3.44.0, Dart ≥3.3, JDK 17
AndroidminSdk 24, compileSdk 36 (Android 10+ recommended)
iOSmacOS host, Xcode 15+, CocoaPods, deployment target 15.0
Test deviceA physical phone recommended – the emulator has limited support
Quick Start

Install and Activate

Install the SDK, then activate it with a license key before calling any recognition function – every platform follows this same activate-then-initialize pattern.

  • Add document_reader_sdk to pubspec.yaml as a git dependency pointing at the repo, then flutter pub get.
  • Run cd ios && pod install, then copy the Android AAR to android/libs/documentreadersdk.aar and the iOS framework to ios/Frameworks/docsdk.framework.
  • Call setActivation and init from Dart before recognizing a document.
dart
final act = await setActivation('YOUR_LICENSE_KEY');
final code = await init();
final locateJson = await locateDocument(imagePath);
final resultJson = await recognize(frontPath, backPath, true);
Licensing

How Licensing Works

Licenses are offline and bound to your app's application ID (Android) or bundle ID (iOS). Demo keys are valid until 12 Aug 2027 – contact FacePlugin for a key scoped to your own app.

FAQ

Frequently Asked Questions

Does the Flutter SDK send document data to the cloud?

No. Every stage of document recognition runs on your own server or directly on the device, depending on the platform – scanned documents never leave an environment you control.

How is the SDK licensed?

Licenses are offline and bound to a machine code, application ID, or bundle ID depending on the platform. Contact FacePlugin with that identifier to receive a license key – there are no per-call or per-scan fees once licensed.

Where can I see the full source and open an issue?

The Flutter integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.

Related

Pairs Well With

Ready to Add Document Recognition to Your Flutter App?

Talk to our team to get a license key and a 15-day evaluation period started.

Contact Sales Explore the SDKs