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

mobile phone not picking up "rear" facingMode #2

Open
amacwhirter opened this issue Feb 5, 2021 · 0 comments
Open

mobile phone not picking up "rear" facingMode #2

amacwhirter opened this issue Feb 5, 2021 · 0 comments

Comments

@amacwhirter
Copy link

Firstly - thanks so much for providing this package!

I'm having issues with the facingMode prop - when accessing the camera on a mobile phone (iPhone or Android) and in any browser (Safari and Chrome tested), it always picks up the front facing camera.

<QrReader onError={handleError} onScan={handleScan} facingMode={'rear'} style={{ width: '100%' }} />

Any direction to making sure only rear camera is selected onLoad would be very helpful! Thanks!

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

1 participant