Skip to main content

react

Microblink Platform SDK


Microblink Platform SDK / react

react

Copyright (c) Microblink. All rights reserved. This code is provided for use as-is and may not be copied, modified, or redistributed.

Interfaces

TranslationMessages

Properties

actions

actions: object

Translation messages related to call to action buttons in the UI.

NameTypeDescription
backstring-
cancelstring-
continuestringButton text for continue action. Default value: "Continue"
continueAnotherWaystring-
donestringButton text for done action. Default value: "Done".
exitstringButton text for exit action. Default value: "exit"
startstringButton text for start action. Default value: "Start"
startOverstring-
switchToDesktopToContinuestring-
tryAgainstringButton text for try again action. Default value: "Try again"
tryScanningAgainstring-
yesContinuestring-
cardScanning

cardScanning: CardScanningTranslations

Translation messages related to card scanning process.

d2d

d2d: object

Translation messages related to the device-to-device (d2d) flow.

NameTypeDescription
abortCaptionstringCaption displayed when the user is prompted to abort the process. Default value: "You can now complete your verification on desktop."
abortTitlestringTitle displayed when the user is prompted to abort the process. Default value: "Continue on desktop."
cancelVerificationCaptionstringCaption displayed when the user is prompted to cancel the verification process. Default value: "Your mobile device is connected, and verification is underway."
cancelVerificationTitlestringTitle displayed when the user is prompted to cancel the verification process. Default value: "You are about to cancel the verification on the mobile device. Are you sure?"
captionstringCaption displayed during the d2d flow. Default value: "Switch to mobile device to continue the verification."
chooseAlternativeMethodstringMessage prompting the user to choose an alternative method. Default value: "or choose an alternative method"
connectedCaptionstringCaption displayed when the devices are successfully connected. Default value: "Verification is in progress. Follow the instructions on your phone."
connectedTitlestringTitle displayed when the devices are successfully connected. Default value: "Connected. Continue on the mobile device."
connectionLimitReachedCaptionstringCaption displayed when the connection limit is reached. Default value: "Close the existing connections and try again."
connectionLimitReachedTitlestringTitle displayed when the connection limit is reached. Default value: "Connection limit reached."
continueOnDesktopstringMessage prompting the user to continue the process on their desktop. Default value: "Continue the flow on the desktop"
copyLinkstringButton text to copy a link for the d2d flow. Default value: "Copy link"
deviceDisconnectedCaptionstringCaption displayed when a device is disconnected. Default value: "The device has lost connection. Possible reasons include battery or other connectivity issues."
deviceDisconnectedTitlestringTitle displayed when a device is disconnected. Default value: "Device disconnected"
errorCaptionstringCaption displayed when an error occurs during the d2d flow. Default value: "We couldn't connect to your mobile device."
errorTitlestringTitle displayed when an error occurs during the d2d flow. Default value: "Error: unable to establish connection"
expiresInstringMessage indicating the QR code or session expires in a certain amount of time. Default value: "Expires in"
getNewQrCodestringButton text to generate a new QR code. Default value: "Get new QR code"
inactiveConnectionCaptionstringCaption displayed when the connection becomes inactive. Default value: "Please check your mobile device and try again."
inactiveConnectionTitlestringTitle displayed when the connection becomes inactive. Default value: "Inactive connection"
instructionsTitlestringTitle for the instructions screen in the d2d flow. Default value: "Instructions on how to do it."
linkCopiedstringMessage displayed when a link is successfully copied to the clipboard. Default value: "Link copied!
Open it on your mobile device to continue."
proceedWithDesktopCamerastringButton text to proceed using the desktop camera. Default value: "Proceed with Desktop Camera"
qrCodeExpiredstringMessage displayed when the QR code has expired. Default value: QR code has expired"
returnToThisDeviceSubtitlestringSubtitle for the screen prompting the user to return to their original device. Default value: "Once verification is complete, go back to this device."
returnToThisDeviceTitlestringTitle for the screen prompting the user to return to their original device. Default value: "Return to this device"
scanCodeSubtitlestringSubtitle for the screen prompting the user to scan a QR code. Default value: "Use your phone's camera to scan the code displayed on your screen."
scanCodeTitlestringTitle for the screen prompting the user to scan a QR code. Default value: "Scan QR code or copy link."
titlestringTitle displayed during the d2d flow. Default value: "Switch to mobile device to continue the verification."
transferToMobilePhoneSubtitlestringSubtitle for the screen prompting the user to transfer the process to their mobile phone. Default value: "Perform the verification of the identity on the mobile device."
transferToMobilePhoneTitlestringTitle for the screen prompting the user to transfer the process to their mobile phone. Default value: "Transfer to mobile phone."
verificationCanceledCaptionstringCaption displayed when the verification process is canceled. Default value: "The verification process has been interrupted."
verificationCanceledTitlestringTitle displayed when the verification process is canceled. Default value: "Verification canceled"
verificationSuccessfulCaptionstringCaption displayed when the verification process is successful. Default value: "Your verification is complete. Plase return to your desktop to continue."
verificationSuccessfulTitlestringTitle displayed when the verification process is successful. Default value: "Verification successful!"
documentScanning

documentScanning: DocumentScanningTranslations

Translation messages related to document scanning process.

end

end: object

Translation messages related to the end screen.

NameTypeDescription
errorCaptionstringCaption for the error message. Default value: "We couldn’t complete the verification. Let’s try the verification again."
errorTitlestringMessage indicating an error occurred during the verification process. Default value: "Something went wrong"
identityNotVerifiedCaptionstringCaption for the identity not verified message. Default value: "We couldn't verify your identity this time. Please double-check your information and try again, or contact support for assistance."
identityNotVerifiedTitlestringMessage indicating the identity is not verified. Default value: "Identity not verified"
identityVerifiedCaptionstringCaption for the identity verified message. Default value: "Thank you for proving your identity - it was you all along!"
identityVerifiedTitlestringMessage indicating the identity is verified. Default value: "Identity verified!"
identityVerifyingCaptionstringCaption for the identity verifying message. Default value: "We've got everything we need. We'll notify you as soon as it's complete."
identityVerifyingTitlestringMessage indicating the identity is being verified. Default value: Thanks! We're verifying your identity now
faceCapture

faceCapture: FaceCaptureTranslations

Translation messages related to face capture process.

home

home: object

Translation messages related to the home screen.

NameTypeDescription
additionalActionsCaptionstringCaption for additional actions on the home screen. Default value: "We may ask you to take additional actions to complete your verification."
captionstringCaption for the home screen. Default value: "This will only take a couple of minutes."
cardVerificationAnotherStepTitlestring-
cardVerificationStepCaptionstringCaption for the card verification step on the home screen. Default value: "Go grab your credit or debit card"
cardVerificationStepTitlestringTitle for the card verification step on the home screen. Default value: "Scan your card"
documentExtractionAnotherStepTitlestring-
documentExtractionStepCaptionstringCaption for the document extraction step on the home screen. Default value: "Go grab your ID"
documentExtractionStepTitlestringTitle for the document extraction step on the home screen. Default value: "Scan your document"
documentVerificationAnotherStepTitlestring-
documentVerificationStepCaptionstringCaption for the document verification step on the home screen. Default value: "Go grab your ID"
documentVerificationStepTitlestringTitle for the document verification step on the home screen. Default value: "Scan your document"
faceMatchStepCaptionstringCaption for the face match step on the home screen. Default value: "Make sure your face is well-lit"
faceMatchStepTitlestringTitle for the face match step on the home screen. Default value: "Take a selfie"
manualInputStepCaptionstringCaption for the form step on the home screen. Default value: "Enter your details"
manualInputStepTitlestringTitle for the form step on the home screen. Default value: "Fill in the form"
titlestringTitle for the home screen. Default value: "Let's verify your identity"
manualInput

manualInput: ManualInputTranslations

Translation messages related to the manual input process.

statuses

statuses: object

Translation messages related to status messages on the UI. For example, messages used to display information about the current state of the process to the user ("Camera loading", "Checking camera", etc.)

NameTypeDescription
cameraLoadingstringMessage indicating the camera is loading. Default value: "Camera loading"
cameraPermissionRequiredCaptionstringCaption indicating that camera permission is required. Default value: "We don't have your permission to use the camera. To continue, please make sure that camera is enabled."
cameraPermissionRequiredTitlestringMessage indicating camera permission is required. Default value: "Camera permission required"
checkingCamerastringMessage indicating the camera is being checked. Default value: "Checking camera..."
completedstringMessage indicating the process is completed. Default value: "Completed"
documentNotSupportedCaptionstringCaption for the document not supported message. Default value: "Try scanning a different document."
documentNotSupportedTitlestringTitle for the document not supported message. Default value: "Document not accepted"
documentScanErrorCaptionstringCaption for the document scan error message. Default value: "Try again, ensuring your document is fully visible and well-lit. Keep the document steady to prevent any blurriness."
documentScanErrorTitlestringTitle for the document scan error message. Default value: "Scan again"
nextUpstringMessage indicating the next step. Default value: "Next up"
noCameraDevicesstringMessage indicating there are no camera devices. Default value: "No camera devices found"
noInternetConnectionstringMessage indicating there is no internet connection. Default value: "No internet connection"
processingstringMessage indicating processing is in progress. Default value: "Processing..."
retakeSelfieCaptionstringCaption for the retake selfie message. Default value: "Try again, making sure your eyes are open, your face is fully visible and only one in the frame and there's good lighting."
retakeSelfieTitlestringTitle for the retake selfie message. Default value: "Retake selfie"
scanTimeoutErrorCaptionstringCaption for the scan timeout error message. Default value: "Ensure you are in a well-lit space with no glare on the document, keep it in focus, fully visible and steady."
scanTimeoutErrorTitlestringTitle for the scan timeout error message. Default value: "Having trouble scanning?"
verificationNotAvailablestringMessage indicating verification is not available. Default value: "Verification not available"

References

IdvFlowProps

Re-exports IdvFlowProps


ProxyConfig

Re-exports ProxyConfig


ThemeOverride

Re-exports ThemeOverride