TD1 ID card capture
Capture both sides of a supported TD1 ID card and extract identity fields on-device.
Authorize and scan
Grant id_card_capture in Control Center and assign an allowance. Authorize one session for both sides. Scan the front first, then the back with all three MRZ lines visible.
iOS · Swift
Present the SDK view with the ID card session token.
Identomic.idCard(sessionToken: token) { result in
if case .success(let card) = result {
// Read card.identity, card.frontJPEG and card.backJPEG.
}
}Android · Kotlin
Register Identomic.identityCapture() and handle IDCardCapture in the completed outcome.
identity.launch(IdentityCaptureRequest.IDCard(token))Expo · TypeScript
The completed result contains identity, frontBase64 and backBase64.
import { captureIDCard } from "@identomic/expo";
const outcome = await captureIDCard(token);
if (outcome.status === "completed") {
const { identity, frontBase64, backBase64 } = outcome.capture;
}Coverage and validation
This flow supports TD1 cards with a readable MRZ on the back. It extracts names, document number, birth and expiry dates, nationality, issuing state and sex when present. Treat checksum validation as an extraction consistency check. Keep document images and fields out of logs.