Skip to main content

Configure the Scan

1. Create a configuration object to customize the scanning UI.

See Scan Configuration for a complete explanation of the available options.

const config = {
logoUrl: "https://example.com/your-logo-url.png",
promptIfFewDigits: true,
showDynetiLogo: true,
showFirstSecondSideProgress: true,
showProgressBar: true,
showExplanation: true,
showResult: true,
showThrobber: true,
toastTimeout: 5000,
};

2. Specify a blank verify dictionary

This dictionary is used for our Protect integration but in this use case it should be blank.

const verify = {}