Closed seanpcoyle closed 11 months ago
When scanning a Data Matrix barcode on Android, the barcode is not recognized. Everything works as expected on iOS.
const { props: cameraProps, highlights } = useBarcodeScanner({ barcodeTypes: [ 'ean-8', 'ean-13', 'code-39', 'code-93', 'code-128', 'data-matrix', 'qr' ], onBarcodeScanned: onCodeScanned });
adb logcat
For each captured frame, the following message is shown:
2023-11-16 15:57:41.274 7031-7210 VideoPipeline [app name] I ImageReader::onImageAvailable! 2023-11-16 15:57:41.276 7031-7210 VisionCameraCodeScanner [app name] E Unsupported barcode type: data-matrix
@mgcrea/vision-camera-barcode-scanner
0.6.3
react-native-vision-camera
3.6.6
Samsung Galaxy A14 (SM-A145M/DS)
When scanning a Data Matrix barcode on Android, the barcode is not recognized. Everything works as expected on iOS.
Relevant JavaScript:
Errors from
adb logcat
:For each captured frame, the following message is shown:
Package Versions
@mgcrea/vision-camera-barcode-scanner
0.6.3
react-native-vision-camera
3.6.6
Device Info
Samsung Galaxy A14 (SM-A145M/DS)