For the complete documentation index, see llms.txt. This page is also available as Markdown.

React Native SDK

Integrate VOVE ID in a React Native application and handle typed journey results.

The SDK supports React Native applications on iOS and Android. Use the package version your team has tested and approved.

Install

npm install @vove-id/react-native-sdk
cd ios && pod install

For iOS, add NSCameraUsageDescription. For Android, add android.permission.CAMERA. Request permission at runtime on both platforms before starting.

Initialize

import {
  initialize,
  VoveEnvironment,
} from '@vove-id/react-native-sdk';

await initialize({
  environment: VoveEnvironment.Sandbox,
  publicKey: 'public_sandbox_replace_me',
});

Initialize before start(). The public key may ship in the app; the private x-api-key must stay on your backend.

Start

Do not authorize the user directly from Success. Confirm the current resource on your backend after a verified webhook.

Types and values

Documented result values are success, pending, cancelled, failure, and max-attempts. Documented next steps are LIVENESS, ID_DOCUMENT, DRIVING_LICENSE, ADDRESS_PROOF, CAR_REGISTRATION_CARD, and DONE. Compare against the enums shipped by the package rather than duplicating runtime strings.

Supported locales

Value
Language

VoveLocale.EN

English

VoveLocale.FR

French

VoveLocale.DE

German

VoveLocale.AR

Arabic

VoveLocale.AR_MA

Moroccan Arabic

Configuration

Field
Required
Default
Description

environment

Yes

—

Sandbox with Sandbox credentials or Production with Production credentials.

sessionToken

Yes

—

Fresh token created by your backend.

showUI

No

true

Show built-in welcome and summary screens.

exitAfterEachStep

No

false

Return after each configured step.

enableVocalGuidance

No

false

Enable supported spoken guidance.

locale

No

EN

SDK UI locale.

Step-by-step journey

Possible next steps are LIVENESS, ID_DOCUMENT, DRIVING_LICENSE, ADDRESS_PROOF, CAR_REGISTRATION_CARD, and DONE.

Max-attempts listener

Register once and clean up the listener when the owning component unmounts.

Migration from 1.5.x

Since the 1.6.x line, start() returns { status, nextStep? } instead of a status string.

Troubleshooting

Symptom
Check

iOS native module is missing

Run pod install, rebuild the native app, and do not rely on hot reload after installation.

Expo Go cannot load the SDK

Use a development build with the native module and test the exact Expo version.

Camera does not open

Confirm platform declarations and runtime authorization.

Status comparison never matches

Use VoveStatus; cancellation is cancelled at runtime.

nextStep is undefined

It is optional and normally appears only when exiting between steps.

See SDK compatibility, session creation, and production readiness.

Last updated