Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BarcodeFormats.Pdf417 does not scan on iPhone - never detected #255

Open
shaboboo opened this issue Dec 20, 2024 · 0 comments
Open

BarcodeFormats.Pdf417 does not scan on iPhone - never detected #255

shaboboo opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shaboboo
Copy link

shaboboo commented Dec 20, 2024

When iPhone devices attempt to read North American drivers licenses (BarcodeFormats.Pdf417), no barcode is detected.
most iPad devices and all Android devices detect the barcode quickly and accurately.

Steps to reproduce the behavior:
Set up app to use the scanner
Set the supported barcode formats to include Pdf417
Attempt to scan barcode from iPhone device - the OnDetected event is never thrown

Expected behavior
When the barcode from the back of the drivers license is fully visible in the camera view, the barcode is detected and the OnDetected event is thrown

Reported devices:
iPhone 15 Pro - iOS 18.2
iPhone 15 Pro - iOS: 18.1
iPhone 15 - iOS 18.0
iPhone 11 - iOS 18.0
iPad (8th gen) - 18.1
unknown - iOS 17.6.1

Package version 8.0.40.1

Additional context
This has been an issue for a long while, it was even an issue in Xamarin when we were using the ZXing.Net.Mobile Scanner.
It seemed to occur at a time when the camera in the iPhones were upgraded and started taking larger photos.

My code is set up correctly as it works on both Android and iPad devices. Its just iPhone devices that cannot pick up the Pdf417 format barcode.
iPhones can pick up Code128 and Code39 barcodes without any issues.
Other conditions have been ruled out in our testing including multiple barcode detection, and lighting or focus issues.

@shaboboo shaboboo added the bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant