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

How to set up react-qr-reader to show scan window in iPhone? #295

Open
j4nos opened this issue Nov 1, 2022 · 2 comments
Open

How to set up react-qr-reader to show scan window in iPhone? #295

j4nos opened this issue Nov 1, 2022 · 2 comments

Comments

@j4nos
Copy link

j4nos commented Nov 1, 2022

Using react-qr-reader library in my React / Next.js app: https://www.npmjs.com/package/react-qr-reader

Found no relevant options for constraints in docs. Maybe it is a sideeffect with latest iOS it does not show scan window?

Initiating QrReader like this:

<QrReader onResult={scanResult} constraints={{facingMode: 'environment'}} />

But camera scan window does not appear, only that small red icon indicate, I started to open it. Why?

@muzammil-majeed-viabletree

have you found the solution for it ?

@u2789011
Copy link

u2789011 commented May 4, 2023

same here~ it appear on all mobile browser on iphone

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