Implementation Guide
Authentication
A unique access token should be created upon each SDK entry. In order to generate an access token, please refer to Valify's Authentication Documentation.
Delegate Confirmation
Add the following delegate to your view controller.
Initialization
Declare the following variables
Configurations
The SDK builder is separated into two components.
Required Configurations
Optional Configurations
Configurations Breakdown
This section shows the breakdown of all optional builder configurations.
The following line is where the user interface language is set.
The currently supported languages are Arabic and English
The following line is optional and can be used to set your company's branding color to the SDK's user interface.
If the following line is set to true, then an error message will appear in the user interface in the case that the user did not pass the face match or the liveness service.
The integer set in the following line determines how many instructions the user will need to follow to successfully complete a single SDK experience.
The integer set in the following line determines how many failed attempts the user has during a single SDK experience.
The integer set in the following line determines how much time (in seconds) the user will be given to complete each task.
If the following line is added, the SDK will not require the user to close their eyes during the experience.
If the following line is added, the SDK will not require the user to look left during the experience.
If the following line is added, the SDK will not require the user to look right during the experience.
If the following line is added, the SDK will not require the user to smile during the experience.
If the following line is added, voice-over will be removed from the SDK experience.
If this field has an image filled, then the face match service is enabled and the image will be compared with an image captured of the user's face during the SDK experience.
If this field has the front OCR transaction ID filled, then the face match service is enabled and the referenced transaction ID will be compared with an image captured of the user's face during the SDK experience.
The following line is optional and can be used to set any headers that may be required for purposes specific to your application. Any headers set will be sent along with each API call made by the SDK.
The following line is optional and can be used to set an SSL certificate that may be required for purposes specific to your application.
Start SDK
Use the following code snippet to run the SDK
Last updated