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

Sample applications

Once you have installed the Facephi SDK in your iOS project, initial configuration is necessary for the biometric solutions to work correctly.

Sample applications can be found in the GitHub repository:

iOS Repository

Configure and run applications

  1. Add the private repository as indicated in Installation.

  2. Fill in the data in the class SdkConfigurationManager.

SdkConfigurationManager - Data required for using the SDK

For the application to work correctly, the following data must be filled in.

// Data for online License
static let APIKEY_LICENSING = "...."
static let LICENSING_URL = "...."

// Data for offline License
static let LICENSE = "...."
static let LICENSE_ONLINE = false

// Client identifier and operation type
static let CUSTOMER_ID = "...."
var OPERATION_TYPE = OperationType.ONBOARDING

// Selphi, with the name of the resource zip and configuration data
let resourcesSelphi: String = {
let selphiZipName = "fphi-selphi-widget-resources-sdk"
return Bundle.main.path(forResource: selphiZipName, ofType: "zip") ?? ""
}()

// SelphID, with the name of the resource zip and configuration data
let resourcesSelphID: String = {
let selphidZipName = "fphi-selphid-widget-resources-sdk"
return Bundle.main.path(forResource: selphidZipName, ofType: "zip") ?? ""
}()

// Verification services URL
static let BASE_URL = "..."

Last updated