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

To run IDV flows on Android, you must add, in addition to the base SDK, the specific components that participate in the process.

implementation("com.facephi.androidsdk:sdk:$version") 
implementation("com.facephi.androidsdk:tracking_component:$version") 
implementation("com.facephi.androidsdk:selphi_component:$version") 
implementation("com.facephi.androidsdk:selphid_component:$version")
implementation("com.facephi.androidsdk:video_recording_component:$version")
implementation("com.facephi.androidsdk:capture_component:$version")

Add only the necessary components according to the Flow configured on the platform.

Initialize the SDK

The SDK is managed through a main controller (SDKController) that must be initialized before launching any flow.

The license apiKey it is provided by the Facephi team.

After successful Initialization, the SDK is ready to execute the configured flows.

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 list of controllers that participate in the process.

  • Optionally, the Authentication ID (authenticationId) to associate the flow with a specific authentication.

  • Optionally, the identifiers resumeOperationId and resumeSessionId to continue an existing operation or session.

Common controller examples:

  • FSelphiController → Face Capture.

  • FSelphIDController → Document capture.

  • FStartVideoRecordingController / FStopVideoRecordingController → Process recording.

If you do not need to resume an operation, you can omit authenticationId, resumeOperationId and resumeSessionId. The SDK will create the internal identifiers during the flow start.

To receive the flow output, observe stateFlow before or during the launch:

Each emission returns a SdkFlowResult with the step (step), the result of the step or operation (result) and the flowFinishindicator, which indicates whether the flow has finished.

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 IDs and their operation type.

Last updated