React Native (deprecated)

Smile ID react native only works on native mobile apps and not react web. The wrapper has three main components, Selfie, ID Card and Job submission. The selfie and id card screens are already built in

This SDK is deprecated and will receive limited support. Please adopt the v10 SDK: https://github.com/smileidentity/docs/blob/main/mobile/react-native/broken-reference/README.md

It is important to note for the react native expo app this isn't supported for more information on how to run the SDK on react native expo please look at https://docs.expo.dev/guides/config-plugins/

Prerequisites

  1. Before attempting integration head over to the Smile ID Portal and sign up for an account

  2. On the Smile ID Portal download a config file from here (DO NOT SHARE THIS FILE WITH ANYONE OUTSIDE YOUR ORGANISATION) You can download your Smile ID config file again at any time and do not edit the contents of this file.

Main Mobile SDK Components

Regardless of which integration method you choose the SDK has the below mentioned main components, everything else stems from these main components

SmartSelfie

This is our signature selfie capture component that is optimised for our backend processing of images, it's the best option for capturing images which produce the best results. This has a range of image checks like light checks, blur detection etc which are all effective in capturing the best images for the final processing on the backend.

Document Capture

This is a view which is best at capturing images for documents and will perform a range of checks like face detection, light checks and blur detection to make sure we have the best images for the final backend processing

Job Submission

This is a network layer related functionality which is responsible for all captured on device information to the Smile ID Backend for processing. This also will deliver results to your integration method as returned by the Smile ID Backend.

1. Installation

To install the SDK run the below command in the terminal at the root of your project.

npm

npm install rn-smile-id

yarn

yarn add rn-smile-id

SAMPLE APPLICATION

A sample application is available on github in a public repo here,

Last updated