Start View
FaceLivenessDetectorView contains an initial (start) view with instructions and information about the Face Liveness check for the end user. By default, the start view is shown before the Face Liveness check. The start view can be disabled, allowing you to provide your own start view before FaceLivenessDetectorView is displayed in the app:
FaceLivenessDetectorView(
sessionID: <session ID>,
region: <region>,
disableStartView: true,
isPresented: $isPresentingLiveness,
onCompletion: { result in
switch result {
case .success:
// ...
case .failure(let error):
// ...
default:
// ...
}
}
)
Internationalization (I18n)
The text in FaceLivenessDetectorView is defined as string resources in the component's Localizable.strings file. These values can be translated/overwritten by following the instructions here.
Best Practices
- The get ready screen has been optimized for increasing the end user's success rate and we strongly discourage making any changes to that screen.
- We do not recommend modifying the countdown time, face fit timeout, and oval size, as they affect the security and accuracy of the Face Liveness check.