Closed steve28100 closed 4 years ago
EAN13 is compatible to UPC. On iOS the default AVFoundation barcode detection is used. I think we don't have a chance to fix this "problem". You can restrict the barcode formats in the scan options and exclude ean13 if you need to scan this type of codes as UPC.
If i exclude ean13 the app dont scan anything.
BUG REPORTS WITHOUT PROVIDING THESE INFORMATIONS WILL BE CLOSED DIRECTLY. DON'T REMOVE THE SECTIONS!
Describe the bug Hello, I am trying this plugin to scan the barcode, it works fine in Android when using without options. The result is like this:
However I need to restrict the barcode type so I give the options like this:
However the result now is changed into EAN-13, it should be detected as UPC_A same like with no options.
Also in IOS the barcode is always detected as EAN13 not UPC.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be show as UPC_A Format
Screenshots This is the image of barcode:![WhatsApp Image 2020-05-19 at 3 29 20 PM (1)](https://user-images.githubusercontent.com/55441199/84229198-2ca59980-ab13-11ea-9cb4-bf2f11da16e6.jpeg)
Logs Second Result after restricted:
Environment (please complete the following information):
barcode_scan
: barcode_scan: ^3.0.1flutter --version
:Additional context This is the result using online site barcode reader,it shows correct value and format: