Skip to main content
The React Native SDK is the IDtoVerification component. Render it with visible set to true and it opens the idto verification flow in a modal, calling your props as each step finishes.
Driving licence verification result screen

A driving licence result inside the flow.

Requirements

Use a real device for document and selfie capture. You also need a client_id and client_secret (kept on your server), a workflowTemplateId, and a backend route that mints a client token. See Authentication.

Install

The current version is 0.2.5. To let users save the result report as a PDF, also install the optional react-native-blob-util (0.19.0 or later) and react-native-share (10.0.0 or later). Without them the download button does nothing and the rest of the flow is unaffected.

Permissions

Expo. Add the bundled config plugin. It fills in the iOS camera and microphone usage strings and the Android CAMERA and RECORD_AUDIO permissions, and keeps any values you set yourself.
Bare React Native. Add the iOS keys to Info.plist:
And the Android permissions to android/app/src/main/AndroidManifest.xml inside <manifest>:
The OS asks the user the first time a camera step opens.

Quick start

1

Mint a client token on your server

Your server calls POST /auth/sdk/token with client_id and client_secret and returns only access_token to the app. Recipes: Node, TypeScript, Python.
2

Render the component

Your app owns visible. Set it to false in onClose and onAbandon. Props are read once per open, so close and reopen to apply new values, and wait for onClose before reopening.
3

Confirm the result on your server

Callbacks drive your UI only. Confirm the session from your server with the session result recipe or a signed webhook before you grant access.
Workflow complete screen

The completion screen shown after the last step.

Props

Required

Optional

Callbacks

error is a readable message to log, not to match on. Always pass onError and onAbandon, at least as logging stubs, so failures are visible during development.

See it run

Was this page helpful? Email us at tech@idto.ai with the page link.
Last modified on October 4, 2026