One could also take a different approach to this, using a google form to upload the barcode data to an unrestricted google sheet, and download the data from there.
(note: on my device I scan the barcode with the red line at right angles)