Sample applications
Once Facephi's SDK is integrated into your Android 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
Include the user and Token provided by Facephi in the file
local.properties(as indicated in Installation).Include the
applicationIdof the License in the application's Gradle.Fill in the data in the class
SdkData.
SdkData - Data required for using the SDK
For the application to work correctly, the following data must be filled in:
// Data for online License
val environmentLicensingData: EnvironmentLicensingData = EnvironmentLicensingData(
apiKey = "....."
)
// Data for offline License
const val LICENSE = "...."
const val LICENSE_ONLINE = false
// Client 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 = "..."IMPORTANT: The applicationId of the application must match what is requested in the License.
Last updated