Implementation Guide
Authentication
Configurations
Required Configurations
const token = "token";
const baseUrl = "base_url";
const bundleKey = "your_bundle_key";
Optional Configurations
const language = "<insert_language>"; // "en" is set as default
const enableSmile= <boolean>; // true is set as default
const enableLookLeft= <boolean>; // true is set as default
const enableLookRight= <boolean>; // true is set as default
const enableCloseEyes= <boolean>;// true is set as default
const trials= <string>; // default is "3"
const instructions= <string>; // default is "4"
const timer= <string>; // default is "10"
const primaryColor = ”<hex_color_code>”; //
const enableVoiceover= <boolean>; // true is set as default
//One of the following lines is required to enable face match
const faceMatchImage=<base64_String_Image>;//string
const ocrTransactionID="<ocr_transaction_id>";//string
const showErrorMessage=true; // true is set as default
const headers={}; // default is empty
Configurations Breakdown
Parameter Declaration
Start the SDK
Sample Integration Example
Last updated