-
Notifications
You must be signed in to change notification settings - Fork 40
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
facingMode not working (iPhone X, XR, XS) #6
Comments
@ymfHU This project is targeting desktops in the first place. You can have a look at JodusNodus/react-qr-reader. I'll try to add wider support some time soon |
@ymfHU Did you able to solve the issue? I am also facing the same issue, it works in android but not in iphone :( |
Experiencing the same problem with an iPhone 8.
That's a pitty.
I'm coming from that lib. |
I am having the same problem here with iPhone |
this project is aimed toward desktop browsers usage, |
Most of us were coming from that lib already in hopes that this one would fix the underlying issues with that library (like not being able to scan codes from a screen). |
facingMode doesn't work as set at first load, but when we reload the page then it loads the facingMode set by the programmer. |
Closing this issue as for #8 component will accept constraints directly |
I was also getting this error (on iPhone), but I found a solution. The main thing here is to call two mediaDevices functions for querying available cameras and only then show/render the component. Here's a code snippet doing exactly that:
|
I set the facingMode to rear but sill using the front camera. (Tested on iPhone X, XR, XS)
The text was updated successfully, but these errors were encountered: