Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera is not opening in Localhost #42

Closed
mohdhaider07 opened this issue Feb 6, 2023 · 5 comments
Closed

Camera is not opening in Localhost #42

mohdhaider07 opened this issue Feb 6, 2023 · 5 comments

Comments

@mohdhaider07
Copy link

React.App.-.Google.Chrome.2023-02-06.22-36-21.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
Copy link
Author

@jamenamcinteer please reply ASAP

@saicherry93479
Copy link

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

@mohdhaider07
Copy link
Author

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

It will work on https not on http

@karastras
Copy link

karastras commented Jun 13, 2023

@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

@jamenamcinteer
Copy link
Owner

It will only work over https, so you must configure your localhost to be served over https.

@jamenamcinteer jamenamcinteer closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants