Didit React Native SDK with Expo: Setup and Requirements 2026
The Didit React Native SDK needs RN 0.76+ on the New Architecture, the Expo config plugin and a development build; Expo Go will not load it. Full KYC is $0.33 and NFC adds $0.15.

Contents
In this guide
Jump to the part you need.
The Didit React Native SDK fits teams that ship identity verification inside an Expo app and need native camera, liveness and NFC instead of a WebView. It requires React Native 0.76 or later on the New Architecture, iOS 13.0 or later and Android API 24 or later, plus the Expo config plugin and a development build, because Expo Go cannot load the native module. A full KYC check costs $0.33 and NFC chip reading adds $0.15.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
Requirements at a glance
| Requirement | Value |
|---|---|
| React Native | 0.76 or later, New Architecture |
| iOS | 13.0 or later. NFC reading needs iOS 15.0 or later |
| Android | API 24 or later. NFC needs an NFC-enabled device |
| Package | @didit-protocol/sdk-react-native, installed from npm or yarn |
| Install command | npm install @didit-protocol/sdk-react-native |
| Expo | Expo config plugin plus a development build. Expo Go is not supported |
| NFC | Supported. Chip reading needs iOS 15.0 or later, or an Android device with NFC enabled |
| API surface | JavaScript API over the native iOS and Android SDKs |
| Price per check | Full KYC $0.33, NFC add-on $0.15, sandbox free on every plan |
Start free in the sandbox at business.didit.me with no sales call, and read list prices on didit.me/pricing. For developers who want to connect Didit to an AI assistant, the MCP server is at didit.me/developers/mcp. The React Native SDK guide is on docs.didit.me.
What the React Native SDK wraps
The package provides a JavaScript API over the native iOS and Android SDKs, so the verification screen runs as native UI inside your app: document capture, passive or active liveness, face match and NFC chip reading. The native layer handles camera permission prompts, NFC reading and liveness capture, which is the reason to use it instead of a WebView or a browser redirect. React Native SDK 4.15.4 pins native SDK 4.15.4 and introduces no new JavaScript API.
The overview table uses the same contract for every platform: iOS and Android sit at 4.15.4, React Native requires RN 0.76 or later with the New Architecture and the iOS 13.0 and Android API 24 floors. NFC is available on both mobile platforms but not in browsers. For a browser integration, open the hosted session URL. The hosted browser flow skips NFC and continues with document and selfie verification.

Prerequisites
| Side | Item | Detail |
|---|---|---|
| Didit plan | Free, Growth or Scale | The Free plan gives $10 in monthly credit to the first organization created with an eligible work email for a company domain. Growth is $99 a month with $115 of credit and 4% off our prices; Scale is $299 a month with $350 of credit and 10% off. Sandbox testing is free and unlimited on every plan. |
| Didit client | x-api-key | Created in the Business Console. It authorizes calls to verification.didit.me and belongs on your server, never in the app bundle. |
| Didit client | workflow_id | A published workflow that lists the checks you want, for example OCR, LIVENESS, FACE_MATCH and NFC. |
| App | Expo project on RN 0.76+ | New Architecture enabled, iOS deployment target 13.0 or later, Android minSdk 24 or later. |
| App | Development build | The config plugin generates native code, so you need a development build, not Expo Go. |
| Permissions | Camera and NFC | The SDK requests camera access and runs liveness capture itself. NFC chip reading needs iOS 15.0 or later, or an Android device with NFC enabled. |
| Server | Webhook destination secret | secret_shared_key returned when you register the destination, used to verify X-Signature-V2. |
We can ask for explicit biometric consent before the first face capture when the person lives in Illinois, Texas or Colorado. React Native 4.15.4 supports the consent step because it pins native 4.15.4. In Auto consent mode, user_state can trigger the prompt for those states. If consent was already collected, send biometric_consent with given_at and text_version. A native SDK below 4.10.0, or one that does not report its native version, runs the session as before and reports biometric_consent.status: "pending" with reason: "BIOMETRIC_CONSENT_UNSUPPORTED_SDK". The rules are on docs.didit.me/getting-started/biometric-consent.
Seven steps from an empty Expo app to a live check
Check the baseline. Confirm
react-nativein package.json resolves to 0.76 or later, the New Architecture is on, the iOS deployment target is 13.0 or later and AndroidminSdkis 24 or later. React Native versions below 0.76 are unsupported.Install the package. Run the install from the project root.
npm install @didit-protocol/sdk-react-nativeThe same package name works with yarn. The current release is 4.15.4. React Native SDK 4.15.4 pins native SDK 4.15.4 and introduces no new JavaScript API.
Add the Expo config plugin and rebuild a development build. Register
@didit-protocol/sdk-react-nativeas a config plugin in your app config following the React Native SDK guide, then rebuild the development build. Expo Go does not include the module and the flow will fail at runtime. For NFC on iOS, use a device with NFC.Create or pick a workflow. In the Business Console open Workflows, choose New workflow, pick Verifying users, and start from a template. Add the NFC check alongside ID Verification if you want chip reading, then publish the workflow. NFC runs alongside ID verification: after the document photo, the SDK reads the MRZ to derive the chip keys, then the person taps the passport.
Create a session on your server. This is the same call for KYC and KYB, and it returns
session_id,urlandsession_token.curl -X POST https://verification.didit.me/v3/session/ -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' -d '{"workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "user-42", "callback": "https://myapp.com/kyc/return"}'Replace
YOUR_API_KEYandYOUR_WORKFLOW_IDbefore running the command. Passvendor_dataas your own stable user id; it binds the session to that user and feeds duplicate detection across sessions. When your application has allowed domains configured, an HTTP or HTTPS callback must match an allowed origin or session creation returns 400. A custom URL scheme such asmyapp://is always accepted.Open the verification screen from React Native. The React Native SDK guide documents the exact import, method and input for launching the verification screen. Use that page as the source; the release notes confirm
startVerificationandstartVerificationWithWorkflowexist, but they do not define what each accepts, so do not treat them as interchangeable. For a server-created session, create it as in step 5 and pass the documented input from the guide. On Android, React Native 4.15.3 fixed the launch behavior for both methods: if the app goes to the background, the call waits until the app is back in the foreground before opening the screen, and it always settles.Read the decision. Register a destination with
POST /v3/webhook/destinations/and subscribe tostatus.updatedanddata.updated. The request needslabelandurl, and the response returnssecret_shared_key; store it on your server. For each delivery, capture the raw request body, check thatX-Timestampis within five minutes, compute HMAC-SHA256 over the sorted, Unicode-preserved canonical JSON with the destination secret, and compare it withX-Signature-V2in constant time.X-Signature-V2signs sorted, Unicode-preserved canonical JSON;X-Signaturesigns the exact raw bytes. As a fallback, callGET https://verification.didit.me/v3/session/{session_id}/decision/. Results arrive in plural arrays, so readnfc_verifications[], not a singular key.
Field and event mapping
| Field or event | Where it appears | What to do with it |
|---|---|---|
workflow_id | POST /v3/session/ request | Decides which checks run and therefore what the React Native screen shows |
vendor_data | Session, webhook envelope | Match the decision to your own user record |
callback | POST /v3/session/ request | For the hosted flow we append verificationSessionId and status to the callback, or use a deep link scheme for the app |
metadata | Create response, webhooks | Echoed back, never shown to the person |
expected_details | POST /v3/session/ request | Mismatches surface as decision warnings |
sandbox_scenario | Sandbox applications only | Forces a known outcome such as a decline for testing |
status | Webhook, decision | Exact case-sensitive strings. A session can move to In Review for manual review |
id_verifications[], liveness_checks[], face_matches[] | Decision object | Per-check results, one item per instance in the workflow |
nfc_verifications[] | Decision object | Chip result and warnings such as NFC_NOT_READ or NFC_DATA_DOES_NOT_MATCH_OCR |
event_id | Webhook envelope | De-duplicate deliveries |
Statuses come from one enum, documented at docs.didit.me/integration/verification-statuses. A session starts at Not Started, moves to In Progress when the person opens the flow, and can end in Approved, Declined, In Review, Expired or Abandoned. In Review is a pending manual decision, not a final approval. Awaiting User is KYB only and waits on key people. Use strict string matching, because the values are case sensitive and contain spaces.
Check NFC on a real device
The SDK floor is iOS 13.0 or later. NFC chip reading needs iOS 15.0 or later, or an Android device with NFC enabled. Use a device with NFC. Run a sandbox session with NFC in the workflow. After the document photo, the SDK reads the MRZ and asks the person to tap the passport.
Confirm the result in nfc_verifications[]. If the array is empty, the device has no NFC chip or NFC is disabled, and the flow falls back to OCR plus face match. If the item status is Declined with NFC_NOT_READ or NFC_BAC_FAILED, the chip read did not complete; let the user retry and hold the phone in place. If the item status is Declined with NFC_DATA_DOES_NOT_MATCH_OCR, do not approve based on this result. Review the mismatch under your verification policy.
Test in the sandbox: expected success and error cases
Build with a sandbox key first. Sandbox applications accept sandbox_scenario slugs from the catalog at GET /v1/sandbox/scenarios/, which expands bundled magic values onto contact_details and expected_details so the session reproduces a known outcome. Run one end-to-end sandbox pass: launch the app, complete the flow, confirm the verified webhook, and compare the session decision with the scenario you armed.
| Symptom | Cause | Fix |
|---|---|---|
Approved with the expected results for the checks that ran | Expected success with test data | Compare the results with the configured workflow and sandbox scenario, then store the decision |
| Create Session returns 403 with a permission message | Missing API key on verification.didit.me | Send the x-api-key header from your server |
| Create Session returns 401 | Wrong, revoked or expired key | Create a new key in the console and redeploy |
400 on workflow_id | Invalid workflow ID | Send the correct workflow UUID in workflow_id |
400 on callback | When allowed domains are configured, the callback origin is not allowed | Add the origin, or use a deep link scheme such as myapp://, which is always accepted |
| Native module not found in Expo Go | Expo Go has no custom native code | Build a development build with the config plugin |
nfc_verifications[] empty | No NFC chip or NFC disabled | Expected fallback: the flow continues with OCR and face match |
Declined with NFC_NOT_READ or NFC_BAC_FAILED | The chip read did not complete | Let the user retry and hold the phone in place |
Declined with NFC_DATA_DOES_NOT_MATCH_OCR | Chip and printed data disagree | Do not approve based on this result. Review the mismatch under your verification policy |
biometric_consent.status: "pending" with BIOMETRIC_CONSENT_UNSUPPORTED_SDK | Native layer below 4.10.0, or an SDK that does not report its native version | Upgrade to 4.15.4, which pins native 4.15.4 |
| Webhook not received | Handler answered slower than 5 seconds or returned 5xx | Answer 2xx fast, then process; we retry twice after about 1 and 4 minutes, then drop the delivery |

What stays on your server
Keep the x-api-key, workflow_id and webhook destination secret on your server. The app receives the launch input from your server and never the API key. Your backend creates the session, stores the decision and uses the verified session decision for the KYC gate. Only grant access gated on a KYC approval when the backend sees Approved for that verified session.
SDK costs and verification pricing
On our side you pay per completed check from prepaid credit. A full check is three parts: ID document at $0.15, biometrics at $0.15 (passive liveness $0.10 plus face match 1:1 $0.05), and device and IP analysis at $0.03. That makes $0.33. NFC chip reading is a $0.15 add-on. AML screening is $0.20 per check and ongoing AML monitoring is $0.07 per person a year. The React Native SDK, the workflow orchestrator and the MCP server are free.
The Free plan gives $10 in monthly credit to the first organization created with an eligible work email for a company domain. That credit covers 30 full checks because 30 x $0.33 = $9.90. Sandbox testing is free and unlimited on every plan.
Worked example: 2,000 verifications a month, of which 400 read an NFC chip, and 500 run AML screening.
- Free at list prices: 2,000 x $0.33 = $660.00; 400 x $0.15 = $60.00; 500 x $0.20 = $100.00. Usage is $820.00. With the $10.00 monthly credit for an eligible organization, the top-up outlay is $810.00, with no plan fee. Without that credit, the total is $820.00.
- Growth, 4% off our prices: 2,000 x $0.3168 = $633.60; 400 x $0.144 = $57.60; 500 x $0.192 = $96.00. Usage is $787.20, minus $115.00 of plan credit = $672.20 from top-ups, plus the $99.00 monthly fee = $771.20.
- Scale, 10% off our prices: 2,000 x $0.297 = $594.00; 400 x $0.135 = $54.00; 500 x $0.18 = $90.00. Usage is $738.00, minus $350.00 of credit = $388.00 from top-ups, plus the $299.00 monthly fee = $687.00.
Plan credit resets each month and does not roll over, and top-ups last 12 months. The calculator and the full price list are on didit.me/pricing.
Sources
- Didit docs: Native mobile SDKs overview
- Didit docs: React Native SDK guide
- Didit docs: NFC verification
- Didit docs: Create session
- Didit docs: Verification statuses
- Didit docs: Webhooks and signature verification
- Didit docs: Quick start
- Didit docs: Biometric consent
- Didit pricing and the pricing page in the docs, read November 26, 2026
- Didit MCP server
Next step: create a free organization at business.didit.me, build a workflow with the checks you need, and run your first session from the React Native development build. No sales call, and the sandbox stays free while you test.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
Does the Didit React Native SDK work in Expo Go?
No. The SDK ships native iOS and Android code, so it needs the Expo config plugin and a development build. Expo Go contains a fixed set of native modules and cannot load it. Register the package as a config plugin as the React Native SDK guide shows, then rebuild.
What React Native version does the Didit SDK require?
React Native 0.76 or later, on the New Architecture. The overview table lists that as the minimum for the React Native package at version 4.15.4. React Native versions below 0.76 are unsupported.
What are the minimum iOS and Android versions?
iOS 13.0 or later and Android API 24 or later. NFC chip reading needs iOS 15.0 or later, or an Android device with NFC enabled. When NFC is unavailable the flow falls back to document OCR plus face match, and nfc_verifications[] comes back empty.
How do I install the Didit React Native SDK?
Run npm install @didit-protocol/sdk-react-native at the project root. Then register the package as a config plugin in your app config following the React Native SDK guide and rebuild the development build. The current release is 4.15.4, and React Native SDK 4.15.4 pins native SDK 4.15.4 and introduces no new JavaScript API.
Does the React Native SDK support NFC passport reading?
Yes. NFC chip reading in the React Native SDK requires iOS 15.0 or later, or an Android device with NFC enabled. The chip is read inside a verification session; there is no standalone NFC endpoint. Chip reading is billed as a $0.15 add-on per check. Follow the React Native SDK guide for the iOS build setup.
What does a verification cost inside an Expo app?
$0.33 for a full KYC check, $0.15 extra for NFC chip reading, $0.20 for AML screening. The SDK, workflow orchestrator and MCP server are free. Sandbox testing is free and unlimited. The Free plan gives $10 in monthly credit to the first organization created with an eligible work email for a company domain.
What happens if the user backgrounds the app on Android during verification?
From React Native 4.15.3, the Android launch behavior was fixed for startVerification and startVerificationWithWorkflow. If the app is sent to the background, the call waits until the app returns to the foreground before opening the verification screen and always settles. Use the React Native SDK guide for the exact launch input.
Which statuses should my app handle?
Handle Not Started, In Progress, Approved, Declined, In Review, Awaiting User, Resubmitted, Expired, Abandoned and Kyc Expired. They are exact case-sensitive strings, and Kyc Expired uses a single capital K. In Review is a pending manual decision, and Awaiting User is KYB only, waiting on key people; the full lifecycle is at docs.didit.me/integration/verification-statuses. Only grant access gated on a KYC approval when your backend sees Approved for that verified session decision.
Do I need biometric consent for users in Illinois, Texas or Colorado?
React Native 4.15.4 supports the consent step because it pins native 4.15.4. In Auto consent mode, user_state can trigger the prompt for Illinois, Texas or Colorado. If consent was already collected, send biometric_consent with given_at and text_version. A native SDK below 4.10.0, or one that does not report its native version, leaves the decision at pending with BIOMETRIC_CONSENT_UNSUPPORTED_SDK.
Can I test the Expo setup without paying?
Yes. Sandbox applications are free and unlimited on every plan, and sandbox sessions accept a sandbox_scenario slug so you can reproduce an approval or a decline on demand. Switch to the live key only when the organization has credit.
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.
Your obligations · 3 regions
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.
- 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.
Didit Academy


