Skip to content
New issue

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

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

Already on GitHub? # 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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant