Follow

Why cannot I scan this barcode with the Web SDK?

If you cannot scan a specific barcode, the following should help you resolve the issue:

  1. Install our Scandit demo app from the Apple Store or Google Play Store
  2. Open the “Any Code” mode
  3. Scan the barcode

This will give you information about the symbology (e.g., EAN 13, QR code, …) and the symbol counts (if relevant). Then, check that:

  1. The symbology is enabled in your code. To enable a symbology, use the enableSymbologies() method.
  2. Symbol counts: some symbologies have only certain code lengths that are enabled by default (see defaults here: symbologies). To change it, use the setActiveSymbolCount() method. Assuming you have already defined `scanSettings` and want to change the symbol counts for code 39 to scan from 14 to 22, you would use:
    code39Settings = scanSettings.getSymbologySettings(ScanditSDK.Barcode.Symbology.CODE39);
    code39Settings.setActiveSymbolCounts([14, 15, 16, 17, 18, 19, 20, 21, 22]);

When you have verified all of the above and you still cannot scan the code, contact us at http://www.scandit.com/contact-us/ with details on the device you are using and a sharp image of the barcode.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request