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

[Feature Request] Add SCAN_TYPE option int the config constructor #405

Closed
ROBERT-MCDOWELL opened this issue Jan 28, 2022 · 3 comments
Closed

Comments

@ROBERT-MCDOWELL
Copy link

ROBERT-MCDOWELL commented Jan 28, 2022

Is your feature request related to a problem? Please describe.
If the user has a sudden camera hardware problem so let's build the html5-qrcode scanner with the SCAN_FILE option only
and hide the switch file<->camera link

Describe the solution you'd like
Add in the constructor config option "scanType:[file,scanner,all]"
Add which scanner type to build the first time.

@mohsinaav
Copy link
Collaborator

Hi,
I will try to add this feature request.

Thanks.

@ROBERT-MCDOWELL
Copy link
Author

Great! thanks

@mebjas
Copy link
Owner

mebjas commented Apr 7, 2022

This has now been fixed by @mohsinaav

Released in https://github.com/mebjas/html5-qrcode/releases/tag/v2.2.1

@mebjas mebjas closed this as completed Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants