Configure the Scan
1. Create a configuration object to customize the scanning UI.
See Scan Configuration for a complete explanation of the available options. To boost conversion, Dyneti's recommended configuration is presented below:
const config = {
uiVersion: 2,
showExplanation: false,
showResult: false,
showCancelButton: true
};