ekreutz / react-native-barcode-scanner-google

Barcode scanner for react native, which implements barcode detection from Google's Vision API.
MIT License
113 stars 68 forks source link

Set Barcode Type PDF417 but still scans CODE_128 #40

Open aGORyan opened 5 years ago

aGORyan commented 5 years ago

I set barcodeType={BarcodeType.PDF417} and attempted to scan the back of a driver's license, but it is still scanning the CODE_128 barcode.

            <BarcodeScanner
                style={{ flex: 1 }}
                barcodeType={
                    BarcodeType.PDF417
                }
                onBarcodeRead={({ data, type }) => {
                    Alert.alert("Barcode type " + type);
                    this.onBarCodeRead(data);
                }}
            />
Hemanth1985 commented 4 years ago

I am facing the same issue,there seems to be a bug in library

Rome96 commented 2 years ago

I am facing the same issue,there seems to be a bug in library x2 :(