Sample applications
Once the Facephi SDK is integrated into your Android project, initial configuration is necessary for the biometric solutions to work correctly.
Configure and run applications
SdkData - Data required for using the SDK
// Data for online License
val environmentLicensingData: EnvironmentLicensingData = EnvironmentLicensingData(
apiKey = "....."
)
// Data for offline License
const val LICENSE = "...."
const val LICENSE_ONLINE = false
// Customer identifier and operation type
const val CUSTOMER_ID = "...."
val OPERATION_TYPE = OperationType.ONBOARDING
// Selphi, with the name of the resources zip and configuration data
const val SELPHI_RESOURCES = ".....zip"
val selphiConfiguration = SelphiConfigurationData(
...,
resourcesPath = SELPHI_RESOURCES
)
// SelphID, with the name of the resources zip and configuration data
const val SELPHID_RESOURCES = "...zip"
val selphIDConfiguration = SelphIDConfigurationData(
...,
resourcesPath = SELPHID_RESOURCES
)
// Verification services URL
const val BASE_URL = "..."Last updated