Why does the page sometimes freeze when I start the scanner?
Before a barcode reader instance can be created, a one-time connection for license validation needs to occur when the app initializes (or whenever the license is set before the barcode reader instance creation). Sometimes, this license validation could take a second to complete.
A potential “freeze” of the page can occur if BarcodeReader.initLicense()
is called multiple times in a single process. Please make sure that initLicense
is called only once in your code.
To help troubleshoot whether the method is being called multiple times, we recommend stepping through the code using a debugger.