ngx-scanner
ngx-scanner copied to clipboard
Unable to scan QR code that other scanners are able to scan
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:
- Angular app with ngx-scanner (e.g. https://zxing-js.github.io/ngx-scanner/)
- Use camera to scan QR code
- 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

We are seeing similar behavior from iOS devices. Some QR codes are able to scan with no issues, while others don't scan at all. We are able to scan them successfully using non-iOS devices however. Are there any updates on this issue?
I am able to scan the code with ngx-scanner. when it is rotated correctly (90 degrees) it does get scanned a lot faster though... Beware that zxing-online doesn't use the typescript-code (which should be quite similar but not 100% the same). @kogermd can you provide some samples as well?