For the complete documentation index, see llms.txt. This page is also available as Markdown.

IDV Mobile Integration

What is IDV Mobile

IDV (Identity Verification) is the flow that allows verifying and authenticating a person's identity through the capture and validation of biometric traits.

The flow is configured beforehand on the Facephi platform and is executed in the application using its identifier (flowId).

Required dependencies

Below is the list of dependencies for the available components to integrate an IDV Flow in iOS. Install only the capture components that have been licensed.

CocoaPods

// CORE
pod 'FPHISDKMainComponent', '~> $VERSION'
pod 'FPHISDKTrackingComponent', '~> $VERSION'
// COMPONENTES DE CAPTURA
pod 'FPHISDKSelphIDComponent', '~> $VERSION'
pod 'FPHISDKSelphiComponent', '~> $VERSION'
pod 'FPHISDKNFCComponent', '~> $VERSION'
pod 'FPHISDKCaptureComponent', '~> $VERSION'
pod 'FPHISDKVideoRecordingComponent', '~> $VERSION'

Swift Package Manager (SPM)

Optional dependencies

The SDK has several libraries that add functionality.

  • Status -> Allows the SDK to display tutorial and diagnostic screens for each component, improving the user experience.

  • Tokenize -> Some services require the sending of tokenized assets. This library adds the tokenized values to the component's response.

CocoaPods

Swift Package Manager (SPM)

Initialize the SDK

The SDK works through a main controller (SDKController), which must be initialized correctly before any Flow can be launched.

Facephi will provide the apiKey license required for initialization.

After successful initialization, the application will have access to all the Flows configured for that project.

Launch an IDV flow

The IDV flow is launched using a FlowController, indicating:

  • The Flow ID configured on the platform (flowId).

  • The Customer ID (customerId).

  • The Authentication ID (authenticationId). Only necessary if we are dealing with an authentication Flow.

  • The list of controllers that can participate in the process.

Common controller examples:

  • SelphiController → Face Capture.

  • SelphIDController → Document capture.

  • StartVideoRecordingController / StopVideoRecordingController → Process recording.

Check available flows

If you need to obtain the available flows before launching one of them, use:

The function returns a list with the Flow identifier and their operation type.

Last updated