React Native SDK
Didit React Native SDK for identity verification
Native iOS and Android screens from one TypeScript call. Works with Expo and the React Native CLI.
npm install @didit-protocol/sdk-react-native
Pick the Right Didit SDK: Web, iOS, Android, Flutter & React Native · 3 min · YouTube
Install
Install
Use Expo with the config plugin, or npm.
What the Expo plugin sets up
Info.plist keys. Add the camera, microphone, photo library and NFC keys under ios.infoPlist.npx expo prebuild.npx expo install @didit-protocol/sdk-react-native# app.json{ "expo": { "plugins": ["@didit-protocol/sdk-react-native"] }}
Start
Start a verification
Pass the session token from your server and handle three results.
Three results
completedThe user finished. Read result.session.status.cancelledThe user closed the flow.failedSomething went wrong. Show result.error.message.startVerification returns a promise. The SDK returns the status only. The full decision reaches your server by webhook.
import { startVerification, VerificationStatus,} from '@didit-protocol/sdk-react-native';// Start verification with a session token from your backendconst result = await startVerification('your-session-token');switch (result.type) { case 'completed': if (result.session.status === VerificationStatus.Approved) { console.log('Identity verified!'); } break; case 'cancelled': console.log('User cancelled'); break; case 'failed': console.log('Error:', result.error.message); break;}
Requirements
What you need
Six things to check before you ship.
Questions
Questions about the React Native SDK
Does the React Native SDK work with Expo?
Which React Native versions are supported?
Does my API key go in the app?
Does the SDK read NFC chips?
How do I install the React Native SDK without Expo?
Do I need to change Gradle for the React Native SDK on Android?
Does the Expo config plugin set the iOS permissions?
How do I read the React Native SDK result?
Can I prefill user details without a backend?
Which React Native SDK version supports biometric consent?
Can I test the React Native SDK without real users or charges?
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.
- Trusted by EU regulators
After a year of supervised testing, EU financial regulators confirmed that verifying with Didit is safer than checking an ID in person.
- 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
Learn Didit, one short video at a time
Start
Install the SDK
Create an account, get your sandbox key and install the package.
Free sandbox. Credit applies to work-email sign-ups.