Guide to migrate configuration from legacy VideoSelfie to the current version¶
Description¶
The following table compares configuration variables from the legacy VideoSelfie SDK to the current version.
Note that the following entries are only the legacy keys that map to current ones. To check the full current configuration and default values, see the configuration documentation.
Migration guide from legacy to current version¶
Style¶
Previous style definitions cannot be migrated directly to the current version. Style configuration includes: - Colors - Styles - Fonts
For detailed instructions on how to customize the SDK's styles, please refer to the customization documentation.
Work in progress
| Legacy property | New key |
|---|---|
| capturedbackgroundalpha | — |
| capturedlabelicon | — |
| capturedlabelposition | — |
| capturedlabeltext | - |
| closebutton | closeButtonShow |
| closebuttonimage | — |
| countdowntextcolor | — |
| documentlabeltextbackgroundcolor | — |
| documentlabeltextbackgroundcolorfinal | — |
| documentlabeltextcolor | — |
| documentmobileoval | — |
| documentmobileovalcolor | — |
| documentobverselabeltext | texts.capture.documentStep.obverse.title |
| documentreverselabeltext | texts.capture.documentStep.reverse.title |
| facemobileoval | — |
| facemobileovalcolor | — |
| facenotfounderror | — |
| facenotfounderrortitle | texts.error.verification.title |
| faceshapeoval | — |
| familyName | — |
| finalerror | texts.error.verification.subtitle |
| finalerrortitle | texts.error.verification.title |
| fixedoval | — |
| fixedrectangle | — |
| fixedrectangleposition | — |
| infoalert | - |
| infoalerteauthenticatemode | - |
| infoalertpass | - |
| infoalertshow | - |
| infoalerttitle | - |
| infoalerttitleauthenticatemode | - |
| infoalerttitlepass | - |
| lifetype | — |
| metadatadate | — |
| metadatatoken | — |
| obversenotfounderror | texts.error.verification.subtitle |
| obversenotfounderrortitle | texts.error.verification.title |
| onlyobverse | — |
| permissionrefused | texts.error.permission.subtitle |
| permissionrefusedbutton | texts.error.rotationRestart.button |
| permissionrefusedtitle | texts.error.permission.title |
| positivebuttontitle | - |
| reversedetection | — |
| reversenotfounderror | texts.error.timeOut.subtitle |
| reversenotfounderrortitle | texts.error.timeOut.title |
| secondsobversenotfounderror | - |
| secondsreversenotfounderror | - |
| secondsshowingface | - |
| secondsshowingobverse | - |
| secondsshowingreverse | - |
| secondsvideotimeout | detectionTimeout |
| secondsvideotimeoutonlyobverse | - |
| showtutorial | instructionsShow |
| tickcirclecolor | — |
| tickcolor | — |
| token | — |
| tutorialbackgroundcolor | — |
| tutorialcontinuebuttoncolor | — |
| tutorialcontinuebuttontext | texts.instructions.firstStep.nextButton |
| tutorialcontinuebuttontextcolor | — |
| tutorialgif | medias.instructions.mobileDocument |
| tutorialpassporttext | texts.instructions.secondStep.subtitle |
| tutorialtext | texts.instructions.firstStep.subtitle |
| tutorialtextcolor | - |
| tutorialtitle | texts.instructions.firstStep.title |
| tutorialtitlecolor | - |
| usernotacommodatedtext | — |
| usernotacommodatedtitle | — |
| videoinformativelabel | — |
| videoinformativelabelbackgroundcolor | — |
| videoinformativelabelbackgroundcolorfinal | — |
| videoinformativelabelborder | — |
| videoinformativelabelbordercolor | — |
| videoinformativelabelbordercolorfinal | — |
| videoinformativelabelposition | — |
| videoinformativelabelradius | — |
| videoinformativelabeltextcolor | — |
| videoinformativetext1 | texts.capture.nameSurnameStep.title |
| videoinformativetext2 | texts.capture.documentStep.obverse.title |
| videoinformativetext2pass | texts.capture.documentStep.obverse.title |
| videoinformativetext3 | texts.capture.documentStep.reverse.title |