yudielcurbelo / react-qr-scanner

A library to scan QR Codes in react.
https://yudielcurbelo.github.io/react-qr-scanner/
MIT License
245 stars 38 forks source link

I'm getting a blank rectangle in iOS! #66

Closed alamenai closed 3 months ago

alamenai commented 3 months ago

Hi,

My friend recommended using this library for scanning QR, and it works well on laptop, however in iOS I'm getting blank rectangle.

Code


<Scanner onScan={(result) => console.log(result)} />

Browser: Chrome Device: iPhone 14 max OS: iOS

image

alamenai commented 3 months ago

I found that the issue is from iOS security reason where it's impossible to access the camera without HTTPS.