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

Update zxing-js library so UPC-A barcodes scan as expected #501

Closed
wants to merge 1 commit into from

Conversation

Breno1288
Copy link
Contributor

When running the simple getting started example independently, or using the scanapp.org live example, UPC-A barcodes don't scan or register unless you are on a supported version of Chome on Android with the experimentalFeatures useBarCodeDetectorIfSupported set to true.

When using an iPhone and relying on the Zxing implementation, the barcodes do not scan.
Seen reported in other issues like #323 or #487

I have grabbed the latest copy of the Zxing-js library from it's repository and rebuilt the umd dependencies that this library is relying on.
Now testing it locally on an iPhone I have been able to successfully scan all the UPC-A barcodes I have, as well as the sample images provided in the above mentioned GitHub Issues.

@adammoisa
Copy link

+1 to merge this

@mebjas
Copy link
Owner

mebjas commented Nov 6, 2022

Thanks for the PR, I'll send a cleaned up version of this and submit it after testing / eval (will CC you).

@mebjas mebjas mentioned this pull request Nov 12, 2022
@mebjas
Copy link
Owner

mebjas commented Nov 12, 2022

@Breno1288 appreciate the changes.

I have made another pull request with your changes (+ some formatting). Committed on your behalf.

Plan to submit this and release as part of v2.3.1 after testing and verification.

Closing this PR, please feel free to reply on the other PR directly.

@mebjas mebjas closed this Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants