Skip to content

Guide to migrate configuration from React to V6

Description

The following table compares the configuration variables from React to V6 version

Note that the following configuration variables are only those that fit the new ones. To check all configuration variables for the current SDK or defauklt values to each key , see the configuration documentation.

Migration guide from React to V6 version

Texts

Selfie React Selfie V6
center_face capture.feedback.centerFace
continueText review.continueButton
errorDisplayHeaderTitle error.permission.subtitle
fitYourFace capture.passive.title
infoReviewImageText review.subtitle
infoReviewImageTextSelfie review.subtitle
infoReviewImageTextSelfieAlive review.subtitle
infoUserAliveButtonText instructions.startButton
infoUserAliveSubTitle instructions.active.subtitle
infoUserAliveTitle instructions.active.title
message_alive_light capture.active.title
message_middle_center capture.feedback.backCenter
repeatText review.repeatButton
restartingErrorText error.verification.subtitle
setPortraitDeviceMessage error.rotation.subtitle
videoErrorNotFound error.cameraNotDetected.subtitle
videoErrorPermission error.permission.subtitle

Media

Selfie React Selfie V6
infoUserAliveMedia instructions.desktopActive
infoUserAliveMedia instructions.mobileActive

Setup

Selfie React Selfie V6
aliveChallenge challengeToken
closeButton closeButtonShow
detectionTimeout detectionTimeout
infoModalShow instructionsShow
reviewImage reviewShow
showLogo logoShow

Style

Previous definition of styles cannot be migrated into current version. Styles configuration includes: - Colors - Styles - Fonts - Parts (no longer supported)

For detailed instructions on how to customize the SDK's styles, please refer to the customization documentation.