
id-capture-net-maui
Cursor Skill
Use when ID Capture (Scandit identity-document scanning — passports, driver's licenses, ID cards, residence permits, health-insurance cards, visas, region-specific subtypes, reading MRZ / VIZ / PDF417 barcode / mobile-document data) is involved in a .NET MAUI project (`<UseMaui>true</UseMaui>`, target frameworks include `net*-android` and/or `net*-ios`, `Scandit.DataCapture.IdCapture` NuGet) — whether the user mentions ID Capture directly, says "scan a passport / driver's license / ID card / identity document in a MAUI app", or the codebase already uses `IdCapture` and something needs to be added, changed, fixed, or customized. This includes adding ID Capture to a MAUI app, configuring `IdCaptureSettings` with `AcceptedDocuments` (`new Passport(IdCaptureRegion.Any)`, `new DriverLicense(...)`, `new IdCard(...)`, …) and a `Scanner` (`new IdCaptureScanner(physicalDocument, mobileDocument)` with `FullDocumentScanner` / `SingleSideScanner` / `MobileDocumentScanner`), creating the mode with `IdCapture.Create`, hosting the preview with the `<scandit:DataCaptureView>` XAML control plus an `IdCaptureOverlay` created in `HandlerChanged`, handling results through `IIdCaptureListener.OnIdCaptured` / `OnIdRejected` (or the `IdCaptured` / `IdRejected` events), reading `CapturedId` (`FullName`, `DateOfBirth`, `DateOfExpiry`, `DocumentNumber`, `Mrz`, `Viz`, `Barcode`, `MobileDocument`, `Images`, `VerificationResult`), wiring SDK initialization (`ScanditIdCapture.Initialize()` in the platform entry points + `.UseScanditCore(c => c.AddDataCaptureView())` in `MauiProgram.cs`), managing the camera lifecycle across `OnAppearing`/`OnDisappearing`, requesting `Permissions.Camera`, rejection rules (expired / voided / underage / forged-AAMVA / inconsistent-data), data-consistency / AAMVA verification, anonymization, or upgrading the Scandit .NET MAUI SDK version. If the project has `<UseMaui>true</UseMaui>` and ID Capture (`IdCapture`) is in play, use this skill — for non-MAUI projects use `id-capture-net-android` (`net*-android`) or `id-capture-net-ios` (`net*-ios`) instead.
AI agent skills for integrating the Scandit Data Capture SDK — product selection, documentation, and implementation guides for barcode scanning, ID capture, and smart label capture.