Promise based APIs. In this article I’ll explain how to use the new version of the library, some changes and reasons for them and existing issues and plan to fix them.
Important Edit 1 (14th June 2021)
Lot of things have changed since
v1.0.1 and latest release for the library is
If you are interested in a web based QR Code or barcode scanner try out: scanapp.org (it’s the perfect demo of this project).
Continue reading article on v1.0.1
To callout loud, the major changes are:
- Removed jQuery dependency
- Refactored the APIs to return Promise rather than being purely based on callbacks.
Read full article with code examples at https://blog.minhazav.dev/HTML5-QR-Code-scanning-launched-v1.0.1/
QR Code is a very common technique of encoding information as images. Its a very common used in physical stores for identifying products like bar code is used.
stream from the camera and try to decode frames at a certain frequency (configurable) and notify the caller about results via callbacks. Requesting camera permissions in browsers usually results in a permission dialog popup to users for requesting permissions and can only be used if the user grants them.