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

Option to use native Barcode Detection API #446

Closed
pastc opened this issue Sep 1, 2024 · 2 comments
Closed

Option to use native Barcode Detection API #446

pastc opened this issue Sep 1, 2024 · 2 comments

Comments

@pastc
Copy link

pastc commented Sep 1, 2024

Will there be an option to use the native Barcode Detection API instead of the wasm polyfill?

I would prefer it since it is more performant since it uses the os instead of just the browser.

@gruhn
Copy link
Owner

gruhn commented Sep 1, 2024

That used to be the default behavior. But then I noticed that (at least) Safari on macOS did not implement the API correctly. The detect function would not accept Blob inputs which is needed for QrcodeCapture and QrcodeDropZone. This was a while ago though, so this might have changed. Feel free to open a PR :)

@pastc
Copy link
Author

pastc commented Sep 2, 2024

Please see #447

@gruhn gruhn closed this as completed Sep 6, 2024
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

2 participants