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.

One plugin, Android & iOSFully on-deviceNo per-call fees
PASSPORT• AURORIA
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);
Platform notes

Flutter Integration Notes

Details from the ID-Document-Recognition-Flutter README.

Toolchain

Run flutter doctor until clean. The README lists Flutter 3.44 or newer, Dart 3.3 or newer and JDK 17. Android needs minSdk 24 with compileSdk 36 for the plugin; iOS needs 15.0.

Where native files go

Android: documentreadersdk.aar into example/android/libdocsdk/ (or android/libs/ in your own app). iOS: docsdk.framework into ios/Frameworks/.

iOS build steps

On macOS run cd example/ios && pod install and set your Xcode Signing Team, then cd example && flutter run on a physical phone.

Live locate overlay

The plugin includes a live camera locate overlay with capture, so users can frame the document before taking the shot.

Native options: Android and iOS. For face matching in the same app see the Flutter face recognition SDK.

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 the Android applicationId and iOS bundle id you ship. The key controls whether Recognition, Liveness (document authenticity) or both are unlocked. Contact FacePlugin with both identifiers.

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.