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

Compatibility - [MacOS/iOS] [Firefox/Safari] - [UPC Scanning] #341

Closed
connorpwilliams opened this issue Oct 31, 2021 · 5 comments
Closed

Comments

@connorpwilliams
Copy link

Describe the bug
UPCs do not seem to be scanning with browser.
I have tried both MacOS + Firefox and iPhone 11 + Safari. In both cases, qrcode scanning is successful but barcode scanning is not.

NPM Package
"html5-qrcode": "^2.1.0"

Describe the browser:

  • MacBook Pro '19
  • OS: [MacOS Monteray]
  • Browser [Firefox]
  • Version [Latest]
    AND
  • iPhone 11 Pro Max
  • OS: [iOS 15.1]
  • Browser [Safari]
  • Version [Latest]

Screenshots
image

Additional context
Here is what I'm doing to create a new instance.

    componentDidMount() {
        let scanner = new Html5QrcodeScanner("reader", {
            fps: 15,
            qrbox: { width: 300, height: 250 },
            experimentalFeatures: {
                useBarCodeDetectorIfSupported: true
            }
        });
        scanner.render(this.scanSucces, this.scanError)
    }
@mebjas
Copy link
Owner

mebjas commented Nov 1, 2021

seems to get scanned on my Pixel device - decodes to 036000291452. I wonder if this has to do with the grid background on the UPC code - can you try it with white background?

@connorpwilliams
Copy link
Author

image

This doesn't seem to work iPhone 11, iOS 15.1, Firefox or Safari

@connorpwilliams
Copy link
Author

image

Or this on MacOS Monterey + Firefox

@runtim
Copy link

runtim commented Feb 15, 2022

Confirmed what appears to be the same issue on iOS 15.1 and 15.3.1 (multiple phones) Safari and Chrome. I am unable to scan any barcodes. No issue with QR codes.

@mebjas
Copy link
Owner

mebjas commented Oct 30, 2022

Duplicate of #323 -- please track there.

@mebjas mebjas closed this as completed Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants