Trulioo Compatible React Native SDK


The Image Capture SDK enables users to capture and upload high-quality ID document images and selfies for Identity Verification. It allows data extraction from the submitted ID document images. The Image Capture SDK also supports document authentication and facial recognition to verify and authenticate the identity. The SDK leverages the device’s native camera application to acquire images for automatic analysis.
This document contains an overview of the Image Capture SDK; its features, and minimum system requirements required for implementation. The document also provides a detailed description of all the functions that developers need to integrate.

What is Image Capture SDK?

The Image Capture SDK provides developers with the options to integrate image capture technology with a customizable user experience in their application. With our React Native plugin, you have the freedom to create any UI with any framework. This approach allows you to simply call methods in the React Native SDK to capture identity documents (driver’s licenses, ID cards, passports, residence permit), and allows auto-capture of selfies. Through this new approach, you will have complete control over the front end or the interface of your app. To assist you in the well-functioning of the app, we have included a sample app template to demonstrate how to develop various workflows. Once the image of an ID document is captured, the image is reduced in size, compressed, and passed in RAM to the native application.

*Note: Images are never stored on the camera roll or any persistent device storage including all image analysis and enhancement.

Environment Setup

iOS version 11.0 or later
Android SDK versions 21-29


Step 1) Open a terminal window in the root folder of the project and run the following commands:
npm install - install dependencies
cd ios - change directory into ios folder
pod install - install xcode dependencies


Step 2) Next open ReactNativeSample.xcworkspace inside the ios folder.


Step 3) Enter SDK credentials inside AcuantConfig.plist file.


Step 4) Make sure the application's signing info is set to your team with a unique Bundle Identifier.


Step 5) Make sure a physical device is connected and selected at the top of the screen in xcode. Press the play button in the top left corner of the screen to build and run the app.



Step 1) Open cmd window in the root folder of the project. run the following commands:

npm install


Step 2) Open project root folder in an editor of your choice.


Step 3) Enter SDK credentials in acuant.config.xml


To see the list of devices connected to your machine, run the command:

adb devices

*note: You must have a physical device connected to run this application!