Skip to main content

Seamless Mobile SDK Integration for Identity Verification

Learn how to seamlessly integrate Didit’s mobile SDKs for secure and frictionless identity verification. Enhance your app’s UX with optimized document capture and robust fraud detection.

Seamless Mobile SDK Integration for Identity Verification

Contents

In this guide

Jump to the part you need.

Seamless Mobile SDK Integration for Identity Verification

In today’s mobile-first world, a smooth and secure identity verification process is crucial for user onboarding and fraud prevention. Integrating a robust mobile SDK is key to achieving this without sacrificing user experience. At Didit, we understand the complexities of mobile development and have designed our SDKs for iOS and Android to be easily integrated, highly performant, and secure. This guide will walk you through the process, best practices, and key considerations for successful identity verification integration.

Key Takeaways

Optimized Document Capture: Didit's mobile SDKs provide intelligent document capture that automatically detects document edges and corrects perspective distortions, leading to high-quality images and improved OCR accuracy.

Enhanced UX: The SDKs are designed for a frictionless user experience, minimizing drop-off rates during the verification process. Features like guided capture and real-time feedback contribute to a smoother workflow.

Security First: Built with security as a priority, our SDKs incorporate advanced fraud detection mechanisms, including liveness checks and secure data transmission.

Cross-Platform Consistency: Maintain a consistent verification experience across both iOS and Android platforms with our native SDKs.

Understanding the Didit Mobile SDK Architecture

Our mobile SDKs are designed as native libraries for iOS (Swift/SwiftUI) and Android (Kotlin). This approach provides optimal performance and access to device-specific features. The SDK architecture centers around a modular design, allowing you to select and integrate only the components you need. The core modules include:

  • Document Capture Module: Handles camera access, image capture, and pre-processing.
  • Liveness Module: Performs liveness detection to prevent spoofing attacks.
  • Data Extraction Module: Extracts relevant data from the captured document using OCR.
  • Secure Communication Module: Encrypts and transmits data to the Didit backend for verification.

Each module is independent, allowing for flexible integration and customization. The SDKs communicate with our backend via secure HTTPS endpoints, ensuring the confidentiality and integrity of user data. We utilize industry-standard encryption protocols to protect data in transit and at rest.

Integrating the SDK: A Step-by-Step Guide

The integration process is straightforward and typically takes less than an hour. Here's a general outline:

  1. Installation: Add the Didit SDK dependency to your project using your preferred package manager (CocoaPods for iOS, Gradle for Android).
  2. Initialization: Initialize the SDK with your Didit API key.
  3. Document Capture: Launch the document capture flow using the SDK's provided UI or integrate it into your custom UI.
  4. Data Handling: Receive the captured image and extracted data from the SDK.
  5. Submission: Submit the data to the Didit backend for verification.

Example (Android - Kotlin):


// Initialize the SDK
Didit.initialize(context, "YOUR_DIDIT_API_KEY")

// Launch document capture
Didit.startDocumentCaptureActivity(activity, object : DiditCallback {
  override fun onResult(result: DiditResult) {
    // Handle the result (success or failure)
    Log.d("Didit", "Document capture result: " + result.status)
  }
})

Optimizing for Image Quality and UX

The quality of the captured document image is critical for accurate OCR and verification. Our SDKs incorporate several features to optimize image quality:

  • Automatic Edge Detection: Automatically detects document edges for accurate cropping.
  • Perspective Correction: Corrects perspective distortions for a flat, clear image.
  • Image Enhancement: Enhances image contrast and brightness for improved readability.
  • Guided Capture: Provides real-time feedback to the user to ensure proper alignment and lighting.

Prioritize a smooth identity verification UX. Minimize the number of steps required and provide clear instructions to the user. Implement robust error handling to gracefully handle unexpected issues. Consider using a progress indicator to keep the user informed about the status of the verification process. A positive user experience is paramount to increasing completion rates.

Advanced Features and Customization

Beyond the core functionality, our SDKs offer several advanced features:

  • Custom UI: Integrate the document capture flow into your existing UI for a seamless look and feel.
  • Customizable Branding: Customize the appearance of the SDK UI to match your brand.
  • Advanced Liveness Detection: Utilize different liveness detection methods (passive and active) based on your security requirements.
  • Error Handling: Implement custom error handling to provide informative messages to the user.

How Didit Helps

Didit simplifies the mobile SDK integration process, allowing you to focus on your core business. Our SDKs provide:

  • Reduced development time and costs.
  • Improved verification accuracy and fraud detection.
  • Enhanced user experience.
  • Scalable and reliable infrastructure.
  • Ongoing support and maintenance.

Ready to Get Started?

Integrating Didit’s mobile SDK is the first step towards securing your mobile application and providing a seamless user experience. Visit our documentation for detailed integration guides and sample code. Sign up for a free account today and start building a more secure and trustworthy mobile app!

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.