You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running inside an iOS WebView (e.g., an app using WKWebView), the scanner does not detect any codes. Instead, it only shows the live camera stream.
To Reproduce
Steps to reproduce the behavior:
Integrate @zxing/ngx-scanner into an Angular app
Open the app inside an iOS WebView (Native)
Try scanning a QR code.
Observe that only the live stream appears — scanning does not work.
Expected behavior
The scanner should behave the same way as in Safari iOS: detect QR codes / barcodes instead of just showing the camera preview.
Environment
Version: (please specify your version, e.g. 20.0.0)
Device: iPhone (iOS version, e.g. iOS 17.7.1)
Browser: iOS WebView (WKWebView / UIWebView)
Works on: Safari iOS
Fails on: iOS WebView
Works fine in Safari iOS.
Issue only in iOS WebView.
Tested different permissions and facing mode, but no change.