ngx-scanner icon indicating copy to clipboard operation
ngx-scanner copied to clipboard

Unable to scan QR code that other scanners are able to scan

Open roordaj opened this issue 2 years ago • 2 comments

Describe the bug My web app is unable to scan a certain QR code. Other apps, such as iPhone camera and a specific QR code scanner app are able to scan the code without problems. See the QR code attached.

At first I thought the QR code was in a format that ZXing does not support, but when I upload the QR code to https://zxing.org/w/decode the QR decode succeeds. Is the Angular implementation missing a part of the ZXing base code? Any ideas why the QR code is not found / scanned?

To Reproduce Steps to reproduce the behavior:

  1. Angular app with ngx-scanner (e.g. https://zxing-js.github.io/ngx-scanner/)
  2. Use camera to scan QR code
  3. QR code is not scanned / found

Expected behavior The QR code is scanned succesfully

Desktop (please complete the following information):

  • OS: macOS
  • Browser chrome desktop

Smartphone (please complete the following information):

  • Device: iPhone 11 Pro
  • Browser chrome for iOS, safari for iOS, PWA

Files qr_code

roordaj avatar Mar 14 '23 09:03 roordaj