Scan drivers license bar code

Hi there,

Is expo’s expo-barcode-scanner capable of scanning driver’s license barcodes on iOS? I have it working with QR codes. However, onBarCodeScanned isn’t triggered when trying a driver’s license. From what I can tell most ID barcodes are in the pdf417 format which is supported and the one I’m testing.

My working code is the same as the example here:

Using the following:

"expo": "^35.0.0",
"expo-barcode-scanner": "^7.0.0",
"expo-camera": "^7.0.0",
"expo-constants": "^7.0.0",
"expo-permissions": "^7.0.0",

Any feedback is welcomed.


According to the documentation PDF417 should be supported, but I have not tried it on iOS.

I have come across another barcode scanning library by Microblink that might work for you. I have not tried it myself, although I have used their Android app, which works well enough for PDF417 and other symboligies. Of course you would have to eject and the library is not free.

Thanks for the insight wodin.

From personal experience and talking with some of the guys at Microblink, if you’re scanning a Driver’s License their technology is by far the best, they have a demo app on their website which, if you’re interested, you should check out!