vue-barcode-reader icon indicating copy to clipboard operation
vue-barcode-reader copied to clipboard

StreamBarcodeReader Not Working On IOS Iphone

Open koulyves288 opened this issue 4 years ago • 3 comments

The StreamBarcodeReader component works fine on android after deployment but when deployed on IOS (iphone) the camera is not launching at all. Does anyone know if the component is compatible with IOS phones?

koulyves288 avatar Apr 01 '21 21:04 koulyves288

The first step in using this vue component should probably be reading this: https://github.com/zxing-js/library#limitations

All this is doing is wrapping zxing. I think the best addition to this component is a hints prop to pass to setHints() https://github.com/zxing-js/library#usage

ndmgrphc avatar Apr 04 '21 16:04 ndmgrphc

On my iPhone 12 (iOS 15.3.1) I can read barcode/qrcode only when the smartphone is in landscape. Camera is not started while the phone in portrait (both in Chrome and Safari)

matteogll avatar Mar 29 '22 06:03 matteogll

iOS in chrome will not ask if it should authorize the use of the camera, as it does not recognize the origin. Follow this way, paste in the browser this chrome://flags/#unsafely-treat-insecure-origin-as-secure

enable the camera after that, on the screen that will be displayed.

Solution finde here: https://stackoverflow.com/questions/47995355/chrome-is-not-letting-http-hosted-site-to-access-camera-microphone

warleipereira avatar Apr 10 '23 02:04 warleipereira