React Native Identity SDK Camera Permissions (2026 Guide)
The Didit React Native SDK opens the camera and triggers the OS permission prompt itself, as part of its capture steps. Your app adds the platform camera declarations and handles the blocked state.

Contents
In this guide
Jump to the part you need.
This guide is for developers adding the Didit identity SDK to a React Native app, and for anyone planning that work. The outcome: the camera opens at the document and selfie steps, the operating system prompt appears when the SDK needs it, and a blocked camera has a way back. A full KYC check costs $0.33 and the SDK is free. The caveat: the OS owns the prompt, so the platform declarations are yours to add.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | What it means for your app |
|---|---|
| Package | @didit-protocol/sdk-react-native from npm or yarn |
| Current version | 4.15.4, and it pins native 4.15.4 |
| Minimums | React Native 0.76+ on the New Architecture, iOS 13.0+, Android API 24+ |
| Who shows the camera prompt | The native SDK, as part of its capture steps. You do not write a permission request yourself |
| Platform setup | The camera usage declaration for each platform, listed in the React Native SDK guide |
| What you handle | The blocked state, where the OS refuses to prompt again |
| Price of a completed check | $0.33 for a full KYC check |
| Free items | SDKs, sandbox, workflow orchestrator, reusable KYC and the MCP server |
| Free credit | $10 a month on the Free plan for organizations that sign up with a work email |
Start free in the sandbox at business.didit.me, no sales call, and test the whole camera path before you bill anyone. Developers who want an assistant to wire the pieces can connect Didit to an AI assistant through the Didit MCP server. Unit prices live on the pricing page, and the product behind these checks is ID verification.
The outcome and the method we recommend
By the end you have a React Native app where a person taps your verify button, the SDK opens its verification screen, the camera comes up for the ID document and then for the liveness selfie, and both captures reach a decision you can read. If the person has blocked camera access, your screen tells them where to reopen it instead of failing silently.
The method: use the native React Native SDK, not the hosted flow inside a WebView, when the camera is central to the flow. Our docs put it plainly:
Native SDKs handle all the complexity of camera permissions, NFC reading, and liveness detection out of the box.
That sentence is the whole trick. You are not writing a permission library or a capture screen. The 4.15 releases of the React Native package (4.15.0, 4.15.1, 4.15.3 and 4.15.4) pin the matching native version and add no JavaScript API of their own. The camera screens, the prompt they trigger, the NFC reader and the liveness capture come from the native layer underneath. Your work is the platform setup, the session that gives the SDK something to run, and the blocked state.
Didit runs identity and fraud checks for 4,000+ companies across 220+ countries and 14,000+ document types. The SDK supports 54 capture and UI languages.
Prerequisites
- A Didit organization. Create one at business.didit.me; the sandbox API key is enough to build and test.
- A workflow with the features your camera steps need. The usual set is
OCR,LIVENESSwithface_liveness_methodset toPASSIVE,FACE_MATCHand, if you screen people,AML. Save the workflow UUID. - React Native 0.76 or later on the New Architecture, an iOS deployment target of 13.0 or later, and Android
minSdk24 or later. NFC reading needs iOS 15 or later and is a separate$0.15add-on. - A backend that can call the Create Session endpoint with your
x-api-key. Keep the key server side. - A person with a phone in their hand. Test camera behaviour on physical devices.
Step by step
Create the workflow. Send
POST https://verification.didit.me/v3/workflows/with a label,workflow_typeset tokyc, and the features above. Persist the returnedworkflow.id. The camera steps inside the SDK are driven by this workflow. A workflow's configured steps determine which captures the SDK runs. Include the documented liveness or face-match steps when you need a selfie.curl -X POST https://verification.didit.me/v3/workflows/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_label": "Standard KYC", "workflow_type": "kyc", "features": [ {"feature": "OCR"}, {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}}, {"feature": "FACE_MATCH"}, {"feature": "AML"} ] }'Run the platform setup checklist. None of this is a Didit API call, and the React Native SDK guide walks through each item against your project:
- Add
@didit-protocol/sdk-react-nativewith npm or yarn. - Confirm React Native 0.76 or later on the New Architecture, iOS 13.0 or later and Android API 24 or later.
- Add the camera usage declaration the guide gives for iOS and for Android. The guide names the exact files and keys, because those change between React Native versions and we keep them there.
- Rebuild and run on a physical device before you touch the session code.
- Add
Create the session from your backend. This is the runnable request the SDK will open, and it comes straight from our docs:
curl -X POST https://verification.didit.me/v3/session/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"workflow_id": "$WORKFLOW_ID", "vendor_data": "user-42", "callback": "https://myapp.com/kyc/return"}'Keep
session_id,urlandsession_token. If your application has allowed domains set, an http or httpscallbackmust be on one of those origins or creation fails with a 400. A custom scheme such asmyapp://kycis always accepted, which is what you want for a mobile return path.Open the SDK from your screen. Call
startVerification(orstartVerificationWithWorkflow) when the person taps your verify button. You do not request the camera yourself: the SDK asks for it as part of its capture steps, which is what out of the box means here. React Native 4.15.3 fixed both calls on Android: if the app is sent to the background, the call now waits until the app is back in the foreground before opening the verification screen, and always settles.Send the covered-state fields when they apply. If you already know the person lives in Illinois, Texas or Colorado, or you collected biometric consent yourself, pass it at session creation so the consent step sits before the first face capture:
{ "workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "user-42", "user_state": "US-IL", "biometric_consent": { "given_at": "2026-10-13T09:12:00Z", "text_version": "consent-v3" } }Read the decision. Call
GET https://verification.didit.me/v3/session/{session_id}/decision/or subscribe to thestatus.updatedwebhook. The V3 shape returns plural arrays:id_verifications[],liveness_checks[],face_matches[]. Never assume the singular V2 fields.

What Didit documents, and what is general mobile guidance
Two kinds of statement appear on this page, and it helps to keep them apart when you plan the work.
- From our docs: the package name, version and minimums from the SDK availability table, the 4.15.x release notes, the Create Session fields, the decision arrays, the biometric consent behaviour and the status enum. Every one of those can be checked against the native SDK overview.
- General mobile guidance: that iOS and Android each require a camera usage declaration before an app may open the camera, and that a person who denies the prompt can be sent to the system settings screen. That is how the two operating systems behave, not a Didit setting, so follow each platform's own documentation for the exact syntax.
We keep the platform specifics in one place so they do not go stale here: the React Native SDK guide.
Expected output
The Create Session call returns a session object. The three fields you act on are session_id, which you store against the user, url, the hosted link for a browser fallback, and session_token. Opening the SDK with that session is what puts the camera on screen.
Once the person finishes, the decision carries a status per step from the same enum everywhere: Not Started, In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. Camera work shows up in two places in that payload: id_verifications[] for the document capture and liveness_checks[] for the selfie, each with its own warnings[] array.

Inputs and outputs
| Field or call | Direction | What it does |
|---|---|---|
workflow_id (UUID, required) | You send | Chooses the steps, so it decides whether the camera opens at all |
vendor_data | You send | Your stable user identifier; echoed back and used for duplicate detection |
callback | You send | Return URL; Didit appends ?verificationSessionId={session_id}&status={status} |
user_state | You send | A code such as US-IL that triggers the biometric consent step before the first face capture |
biometric_consent | You send | Consent you already collected; recorded with trigger customer_collected |
| Camera grant itself | Device only | Handled by the OS and the SDK; it never travels to Didit as a field |
session_id, url, session_token | Didit returns | Identifiers for the SDK and for the hosted fallback |
id_verifications[], liveness_checks[], face_matches[] | Didit returns | Per-step results on the decision, each with status and warnings |

Failure cases and recovery
| Failure | What you see | Recovery |
|---|---|---|
| No camera usage declaration on iOS | The app terminates when the camera is reached | Add the declaration the React Native SDK guide lists for iOS, rebuild, test on a physical device |
| No camera permission declared on Android | The capture step cannot open the camera | Add the declaration the guide lists for Android and rebuild |
| Person denies the prompt | The camera never opens for that step | If the OS no longer presents a prompt, explain what the camera is for and direct the person to the app's settings screen |
App backgrounded during startVerification, Android, before 4.15.3 | The call did not settle and the screen never opened | Upgrade to 4.15.3 or later |
| Missing API key | 403 {"detail": "You do not have permission to perform this action."} | Send x-api-key from your backend |
| Wrong, revoked or expired key | 401 | Issue a new key in the console |
Invalid workflow_id | 400 on session creation | Use the UUID returned by /v3/workflows/ |
| Callback outside your allowed domains | 400, callback must be on one of the application's allowed domains | Add the origin, or use a custom scheme such as myapp:// |
| Native SDK below 4.10.0 in a covered state | Decision shows biometric_consent.status as pending with reason BIOMETRIC_CONSENT_UNSUPPORTED_SDK | Upgrade to native 4.10.0 or later |
| No credits left | HTTP 403 on the API | Top up or move to a plan with credit |
| Device with no working camera feed | The capture step cannot complete | Test camera behaviour on physical hardware |
One more recovery path matters for camera refusals. If a person will not grant camera access to your app, the hosted flow can run in a browser, the Web SDK or a WebView, and it shows the biometric consent step in all three. Treat it as a fallback for the few devices where the native path is closed, not as the default, because the native SDK uses the camera directly.
What you pay for, and where review starts
Nothing about the permission prompt is billable. Billing is based on completed checks, paid from prepaid credit, and the pricing terms list the exceptions, including some no-match database lookups and retries that are billable even though nothing was verified. Read those terms before you model volume: the pricing page and pricing in the docs.
- Full KYC check:
$0.33per completed check, which is ID document verification$0.15, passive liveness$0.10, face match 1:1$0.05and device and IP analysis$0.03. - Active liveness instead of passive:
$0.15. NFC chip reading:$0.15add-on. AML screening in the same workflow:$0.20. - Free on every plan: SDKs, sandbox testing, the workflow orchestrator, reusable KYC and the MCP server.
- Plans: Free with
$10of monthly credit for work-email sign-ups, Growth at$99a month with$115of credit and 4% off every Didit price, Scale at$299a month with$350of credit and 10% off, Enterprise from$15,000a year. Plan eligibility and credit terms follow the live pricing page and the business terms: monthly credit does not roll over, and top-ups last 12 months.
The review boundary sits on the Didit side of the API, not on the camera. A step that lands in In Review, or a document check carrying DOCUMENT_LIVENESS_NOT_COMPUTED, needs a human decision: route it to your manual review queue instead of approving it, and handle it according to your own review process.
The other boundary is legal. We show the biometric consent step and record the answer, and you decide whether your journey meets the biometric law that applies to you, with your counsel. The biometric consent page explains the triggers.
Worked cost example
Take 10,000 completed full KYC checks in a month, and assume 1,000 of those people also read an NFC passport chip. The camera permission itself adds nothing. Every figure below is a published unit price from the feed dated November 26, 2026.
At list price: 10,000 x $0.33 = $3,300.00 for the checks. 1,000 x $0.15 = $150.00 for NFC. Total $3,450.00.
On Growth, with every Didit price 4% lower and $115.00 of monthly credit: 10,000 x $0.3168 = $3,168.00. 1,000 x $0.144 = $144.00. Usage subtotal $3,312.00. Add the $99.00 monthly fee: $3,411.00. Subtract the $115.00 credit: $3,296.00.
Sandbox runs are free and unlimited, so the entire permission path can be tested before any of those numbers start moving.
Sources
- Didit docs: Native Mobile KYC SDKs overview, for the SDK availability table, the 4.15.x release notes and the statement on camera permissions.
- Didit docs: React Native SDK guide, for the platform setup and the camera declarations.
- Didit docs: Create Session API, for the request fields, the callback domain rule and
user_state. - Didit docs: Biometric consent for BIPA, CUBI and Colorado, for the consent triggers and the
BIOMETRIC_CONSENT_UNSUPPORTED_SDKreason. - Didit docs: Quick Start, for the workflow and session recipe and the API failure codes.
- Didit docs: Sandbox test data, for scenarios and magic values.
- Didit docs: ID Verification overview, for the document capture and the decision fields.
- Didit pricing page, pricing as JSON and pricing in the docs, read November 26, 2026.
- Didit business terms, for plan credit and top-up rules.
- Didit MCP server and the iOS and Android native SDK guides.
The next step is the one that settles the question: open business.didit.me, create a sandbox organization with no sales call, and run the document and selfie steps on a physical phone today.
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
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
Does the Didit React Native SDK ask for camera permission itself?
Yes. The native modules inside @didit-protocol/sdk-react-native open the camera and trigger the operating system prompt as part of their capture steps, so you do not write the request call. You still add the camera usage declaration for each platform, because neither iOS nor Android shows a prompt without one. The React Native SDK guide lists those declarations; you also own the blocked state.
Which React Native, iOS and Android versions does the SDK support?
The package is at 4.15.4 and pins native 4.15.4. It needs React Native 0.76 or later on the New Architecture, iOS 13.0 or later, and Android API 24 or later. NFC reading additionally needs iOS 15 or later and costs an extra $0.15 per check.
What happens if a person blocks the camera?
If the OS no longer presents a prompt, explain the issue and direct the person to the app's settings, where camera access can be switched back on. If the person leaves instead, the session can end as Abandoned, and billing is based on completed checks, with the exceptions listed in the pricing terms.
How much does a camera-based verification cost?
A full KYC check is $0.33 per completed check: ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Active liveness costs $0.15 instead of passive at $0.10, NFC chip reading adds $0.15, and AML screening adds $0.20. The camera permission prompt itself is never billed, and the SDK is free.
Can I test the camera flow for free?
Yes. Sandbox testing is free and unlimited on every plan, and organizations that sign up with a work email get $10 of credit a month on the Free plan, with eligibility and credit terms set by the live pricing page. Sandbox scenarios and magic values let you reproduce approvals, declines and review outcomes without real identity documents.
Why does my app crash when the camera opens on iOS?
In most cases the app has no camera usage declaration, and iOS terminates an app that reaches the camera without one. Add the declaration the React Native SDK guide lists for iOS with one plain sentence about scanning the ID and taking the selfie, rebuild, and test on a physical device rather than a simulator. Camera behaviour on a simulator does not match a phone.
Do I need a newer SDK for biometric consent in Illinois, Texas or Colorado?
Yes. The consent step before the first face capture needs native SDK 4.10.0 or later, and the React Native releases that pin native 4.10.0 or later include it. On an older SDK the session still runs, and the decision reports biometric_consent.status as pending with reason BIOMETRIC_CONSENT_UNSUPPORTED_SDK.
What changed in React Native 4.15.3 for the camera flow?
It fixed startVerification and startVerificationWithWorkflow on Android: when the app is sent to the background, the call waits until the app is back in the foreground before opening the verification screen, and always settles. The 4.15.4 and 4.15.3 React Native releases pin the matching native version and add no JavaScript API of their own.
What does the decision return after the camera steps?
The decision returns per-step results as plural arrays: id_verifications[] for the document capture, liveness_checks[] for the selfie and face_matches[] for the comparison, each with a status from the shared enum and its own warnings. Read it with GET https://verification.didit.me/v3/session/{session_id}/decision/ or from the status.updated webhook. Do not assume the singular V2 fields.
How do I reproduce a declined liveness result in the sandbox?
Create the session with a sandbox_scenario slug from the sandbox catalog at GET /v1/sandbox/scenarios/, and the scenario's bundled values reproduce that outcome. Sandbox scenarios are rejected with 400 on live applications.
Is the hosted flow a valid fallback when the camera is blocked in the app?
Yes. Didit's hosted flow in a browser, the Web SDK or a WebView also shows the biometric consent step, so the person can finish verification outside the app. For routine camera capture we still recommend the native SDK, because it uses the device camera directly rather than going through a WebView.
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


