> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/verify/kyc-mobile-sdk.md).

# KYC Mobile SDK

### Overview

VIDA’s Mobile SDK combines OCR, document verification, and (when enabled)  liveness and face verification into one simple user experience across Android and iOS. When the camera opens for OCR and Document Verification, the SDK guides users with real-time feedback such as “move closer,” “avoid glare,” or “rotate card.” Once quality gates are met, capture happens automatically.

In the backend, the SDK checks for blur, glare, and tampering, classifies the card, and, where required, compares front and back sides. OCR then extracts machine-readable fields and presents a configurable review screen for user confirmation. When liveness is enabled, the SDK then guides the user through a selfie step, runs selected liveness checks. There are several liveness methods available namely Passive Liveness, Color Flash, Active Liveness with Gesture and Zoom Liveness.&#x20;

#### Verification Flow with Mobile SDK

1. **Choose Document Type**\
   The user selects which ID they want to verify (e.g., KTP, Passport, Driving License, MyKAD, etc). This ensures the SDK applies the right capture and verification rules.
2. **Follow Capture Guidance**\
   Before taking a photo, the SDK provides real-time instructions like “Make sure your ID card fits inside the frame” and “Ensure the ID card is fully visible and not cropped.” This helps users capture a clean, valid image the first time.
3. **Enable Camera Access**\
   With permission granted, the SDK automatically opens the camera and applies built-in quality checks (e.g., clarity, lighting, angle) to prepare for capture.
4. **Capture the Front Side of the ID Card**\
   When the document meets all quality gates, the SDK auto-captures the front side of the document. If enabled, it can then prompt the user to capture the back side for added verification.
5. **(Optional) Capture the Back Side of the ID Card**\
   For documents that require back-side verification, the SDK guides the user to flip the card and auto-captures the back once quality checks are satisfied.
6. **Capture Selfie for Liveness**\
   After the document step is complete, the SDK transitions to the selfie screen. The user is guided to position their face correctly while the SDK prepares the frames needed for passive liveness analysis.\
   \
   In the case of Liveness SDK is going to be called separately, please refer to this documentation specifically for Liveness SDK [here](/identity-stack/verify/liveness/integration/liveness-sdk.md)
