Retool scanner barcode symbology

Is it possible to use the scanner app in retool to display the barcode symbology. I.e EAN-13, Code39, QR etc?

Thanks!

Yes, Retool's scanner component can scan various barcode symbologies, but displaying the specific symbology type (like EAN-13, Code39, QR) requires some additional handling. By default, when you scan a barcode using Retool's scanner component, it returns the decoded value but not the specific format/symbology that was scanned. However, you can:

  1. Implement logic that recognizes the symbology based on patterns in the scanned data.
  2. Or you can integrate a JavaScript library like quagga.js or zxing through a custom component if you need more detailed information about the barcode type.

This thread might also be helpful!