FacePlugin
Get in Touch
.NET MAUI

ID Document Recognition SDK for .NET MAUI

One .NET MAUI codebase for real-time ID card, passport, and driver license scanning on Android, iOS, and Windows – OCR, MRZ, and barcode recognition, fully on-device and on-premises.

Fully on-deviceC# for Android, iOS & WindowsNo per-call fees
PASSPORT• AURORIA
Portrait photo extracted from a scanned ID document
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 .NET MAUI

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

.NET.NET 8 SDK with the MAUI workload (global.json pins 8.0)
AndroidminSdk 24 (Android 7.0), Windows or macOS build host
iOS15.0, macOS with Xcode 15+, physical iPhone (the framework does not link for the simulator)
WindowsWindows 10 build 17763 or newer
RuntimesAndroid documentreadersdk.aar, iOS docsdk.framework, Windows lib/cpu folder – not in git, downloaded separately
Test deviceA physical phone, or the Windows PC itself
Quick Start

Install and Activate

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

  • Clone the repo, install the .NET 8 SDK and run dotnet workload install maui from the repo folder so global.json selects SDK 8.
  • Download the runtimes linked in the repo README and place them: Platforms/Android/libs/documentreadersdk.aar, Platforms/iOS/Frameworks/docsdk.framework, and the full Platforms/Windows/native/lib/cpu folder.
  • Keep the demo IDs (com.faceplugin.documentreader on Android, com.faceplugin.documentreader.app on iOS) so the bundled demo key activates; it is valid until 12 Aug 2027. Windows takes its own key bound to the machine code shown on the home screen.
  • Run with dotnet build -f net8.0-android -t:Run (or net8.0-ios, net8.0-windows10.0.19041.0).
csharp
// Call order, off the UI thread (0 means success)
var machine = await GetMachineCodeAsync();   // Windows only: send this when you request a key
var ret = await SetActivationAsync(licenseKey);
if (ret == 0) ret = await InitAsync();

// Front image required, back image optional
// "normal" also runs document authenticity (liveness) checks; "none" skips them
var json = await RecognizeAsync(frontJpeg, backJpeg, "normal");

// Return codes: 0 success, 1 invalid license, 2 expired license,
// 3 not activated, 4 init failed
Licensing

How Licensing Works

Licenses are offline and bound to your app’s application ID on Android and bundle ID on iOS; the bundled demo key (for com.faceplugin.documentreader and com.faceplugin.documentreader.app) is valid until 12 Aug 2027. Windows uses a separate key bound to the machine code. After activation, the license status shows whether the key unlocks Recognition, document Liveness (authenticity), or both. Contact FacePlugin for a key scoped to your own app.

FAQ

Frequently Asked Questions

Does the .NET MAUI 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 .NET MAUI 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 .NET MAUI App?

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