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

Black screen and rarely get back camera view #364

Open
maitsysraja opened this issue Jan 9, 2024 · 3 comments
Open

Black screen and rarely get back camera view #364

maitsysraja opened this issue Jan 9, 2024 · 3 comments

Comments

@maitsysraja
Copy link

Hi,

I integrate this module with example code. The code is working fine but the screen shows complete black and white instead of back camera capturing videos and align to a QR code. Is there anything that I need to adjust scan delay or something?

Thanks,
Raja K

@maitsysraja
Copy link
Author

Hi,

Can anyone help.

Raja K

@JamDev0
Copy link

JamDev0 commented Jan 25, 2024

to use the back camera, pass the following property to the component:

<QrReader
  constrains={{
    facingMode: 'environment',
  }}
/>

@dennyz114
Copy link

I have exact the same issue any set

constrains={{
    facingMode: 'environment',
  }}

does not work, any other suggestion? maybe a permission problem?

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

3 participants