-
-
Notifications
You must be signed in to change notification settings - Fork 596
Open
Description
QR code scanning works as expected when the QR image is directly downloaded and scanned from the gallery — data points are detected correctly.
However, when I took a photo of the same QR code and tried scanning it from the gallery, it failed to detect any data.
We confirmed that the same photographed QR image can be scanned successfully using other QR scanner apps, so the issue appears to be specific to our plugin.
Working QR Scan Output:
[Barcodes] Instance of 'BarcodeCapture'
[Barcodes barcodes] [Instance of 'Barcode']
[Barcodes Raw] {name: barcode, data: [{calendarEvent: null, contactInfo: null, corners: [{x: 599.0, y: 837.0}, {x: 1129.0, y: 834.0}, {x: 1123.0, y: 1349.0}, {x: 614.0, y: 1356.0}], displayValue: https://qrfy.io/bcuaAoJBq8, driverLicense: null, email: null, format: 256, geoPoint: null, phone: null, rawBytes: [...], rawValue: https://qrfy.io/bcuaAoJBq8, size: {width: 530.0, height: 522.0}, sms: null, type: 8, url: {title: , url: https://qrfy.io/bcuaAoJBq8}, wifi: null}], image: {bytes: null, width: 1728.0, height: 2304.0}}
[Barcodes image] null
[Barcodes Size] Size(1728.0, 2304.0)
Issue QR Scan Output:
[Barcodes barcodes] {name: barcode, data: []}
Additional Info:
- The QR content is valid.
- The same photographed image works in other scanners.
- Looks like the plugin fails to detect barcodes from photographed QR images in certain cases.
Plugin version: mobile_scanner: ^7.0.1
truyentd-2427
Metadata
Metadata
Assignees
Labels
No labels