This is what’s available natively.
https://www.glideapps.com/docs/reference/actions/scan-linear-barcode
If you need more robust scanning ability.