mgcrea / vision-camera-barcode-scanner

High performance barcode scanner for React Native using VisionCamera
MIT License
84 stars 11 forks source link

fix: treat barcodeTypes parameter as array #19

Closed mattijsf closed 7 months ago

mattijsf commented 7 months ago

Looks like some old code was still in place for parsing barcodeTypes which was expecting an object but on JS side it will always be provided as an array.

Fixes: https://github.com/mgcrea/vision-camera-barcode-scanner/issues/18

mattijsf commented 7 months ago

@mgcrea could you please have a look to include this in a release? It is currently breaking the use of barcodeTypes

mgcrea commented 7 months ago

Sorry for not merging this sooner! Released https://github.com/mgcrea/vision-camera-barcode-scanner/releases/tag/0.8.5

mgcrea commented 7 months ago

This actually broke param handling on my computer, what react-native version are you using?