Sample applications
Once Facephi's SDK has been installed in your iOS project, it is necessary to perform the initial configuration so that the biometric solutions work correctly.
Sample applications can be found in the GitHub repository:
Configure and run applications
Add the private repository as indicated in Installation.
Fill in the data in the class
SdkConfigurationManager.
SdkConfigurationManager - Data required for using the SDK
For the application to function 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 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