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

Video React Video V6
infoFaceRecording capture.nameSurnameStep.feedback
infoObverseRecording capture.documentStep.obverse.title
infoReverseRecording capture.documentStep.reverse.title
infoUserSliderButtonText instructions.secondStep.startButton
infoUserVideoTitle instructions.firstStep.subtitle
infoUserVideoTitle instructions.secondStep.subtitle
setPortraitDeviceMessage error.rotation.subtitle
videoErrorPermission error.permission.subtitle

Media

Video React Video V6
infoUserVideoMedia instructions.desktopDocument
infoUserVideoMedia instructions.desktopSelfie

Setup

Video React Video V6
closeButton closeButtonShow
detectionTimeout detectionTimeout
infoModalShow instructionsShow
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.