react-qr-barcode-scanner icon indicating copy to clipboard operation
react-qr-barcode-scanner copied to clipboard

Camera is not opening in Localhost

Open mohdhaider07 opened this issue 2 years ago • 4 comments

https://user-images.githubusercontent.com/86488954/217037192-55643fa8-e4b9-4de4-b93b-ffad0d772e57.mp4

I am not able to open camera on localhost but when I am trying to open after deployment it is working fine.

On localhost Also getting lots of waning image

mohdhaider07 avatar Feb 06 '23 17:02 mohdhaider07

@jamenamcinteer please reply ASAP

mohdhaider07 avatar Feb 06 '23 17:02 mohdhaider07

@mohdhaider07 you got solution for the issue.I am also facing same issue

saicherry93479 avatar Mar 08 '23 14:03 saicherry93479

@mohdhaider07 you got solution for the issue.I am also facing same issue

It will work on https not on http

mohdhaider07 avatar Apr 02 '23 17:04 mohdhaider07

@mohdhaider07

It works on https and localhost too.

For your warnings issues , u can overide the @zing dependency to the v0.20.0 It fixes all the source.map warnings.

https://stackoverflow.com/questions/15806152/how-do-i-override-nested-npm-dependency-versions https://stackoverflow.com/questions/40226639/how-do-i-override-nested-dependencies-with-yarn

https://github.com/zxing-js/library

karastras avatar Jun 13 '23 12:06 karastras