Sample applications
Once you have installed the Facephi SDK in your iOS project, it is necessary to perform the initial configuration so that the biometric solutions work correctly.
Configure and run applications
SdkConfigurationManager - Data required for using the SDK
// Data for online License
static let APIKEY_LICENSING = "...."
static let LICENSING_URL = "...."
// Data for offline License
static let LICENSE = "...."
static let LICENSE_ONLINE = false
// Customer identifier and operation type
static let CUSTOMER_ID = "...."
var OPERATION_TYPE = OperationType.ONBOARDING
// Selphi, with the name of the resources 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 resources 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