A capacitor based wrapper for Onfido mobile SDKs
start(options: OnfidoConfig) => Promise<OnfidoResult | OnfidoError>
Param | Type |
---|---|
options |
OnfidoConfig |
Returns: Promise<OnfidoResult | OnfidoError>
Prop | Type |
---|---|
code |
string |
{ document?: { front: { id: string; }; back?: { id: string; }; nfcMediaId?: { id: string; }; }; face?: { id: string; variant: OnfidoCaptureType; }; }
{ sdkToken: string; workflowRunId?: string; flowSteps: OnfidoFlowSteps; hideLogo?: boolean; logoCoBrand?: boolean; enableNFC?: boolean; localisation?: { ios_strings_file_name?: string; }; }
{ welcome?: boolean; captureDocument?: { countryCode?: string; alpha2CountryCode?: string; docType?: OnfidoDocumentType; }; captureFace?: { type: OnfidoCaptureType; }; }
Members | Value |
---|---|
PHOTO |
'PHOTO' |
VIDEO |
'VIDEO' |
MOTION |
'MOTION' |
Members | Value |
---|---|
PASSPORT |
'PASSPORT' |
DRIVING_LICENCE |
'DRIVING_LICENCE' |
NATIONAL_IDENTITY_CARD |
'NATIONAL_IDENTITY_CARD' |
RESIDENCE_PERMIT |
'RESIDENCE_PERMIT' |
VISA |
'VISA' |
WORK_PERMIT |
'WORK_PERMIT' |
GENERIC |
'GENERIC' |