dashboardphilippines / react-webcam-barcode-scanner

[UNMAINTAINED -- PLEASE USE https://github.com/jamenamcinteer/react-qr-barcode-scanner INSTEAD] A simple React Component using the client's webcam to read barcodes.
45 stars 32 forks source link

Does not work on iOS 14 #13

Open panagiotisp95 opened 3 years ago

msmurgui commented 3 years ago

Any follow up on this?

nfuller52 commented 3 years ago

It works on my iPad and iPhone using iOS 14.4

shawalahmad123 commented 3 years ago

not working on any ios device in webview! also not working in safari!

jim-pickering commented 2 years ago

It works for me with Safari on iOS 14.7.1 - iPhone 12 Pro Max. I scanned a USAA 2D barcode and a FedEx 1D barcode with it.

yuvalta commented 2 years ago

Not working on iPhone 12 Pro - iOS 14.8 (Safari & Chrome)...

victorosorioparis commented 2 years ago

I do not think this is actually a problem with iOS, but with recent versions of Safari & Chrome and might not be related to this library.

Since July for example, Chrome is not allowing access to the webcam from websites that are not under HTTPS or localhost

ivanpagac commented 2 years ago

It works, but you have to set HTTPS=true, otherwise as @victorosorioparis mentioned, browser will block access to video html element. So instead of npm start, you type HTTPS=true npm start or adjust the npm start script.