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
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/
- 2.On the Smile Identity 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.
Regardless of which integration method you choose the SDK has the below mentioned main components, everything else stems from these main components
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.
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
This is a network layer related functionality which is responsible for all captured on device information to the Smile Identity Backend for processing. This also will deliver results to your integration method as returned by the Smile Identity Backend.
To install the SDK run the below command in the terminal at the root of your project.
npm install rn-smile-id
yarn add rn-smile-id