I’m able to successfully use the barcode field with my iPhone to scan very long barcodes, such as the ones found on the back of gift cards. Maybe check your barcodes to make sure that they’re not compromised in some way that makes them partially unreadable?