Open rhafaelcm opened 3 months ago
@rhafaelcm can you share a video of the QR scanner being slow?
@Nikhil-Nandagopal I made a video!
The first screen is using the external library, where as soon as the screen opens it instantly reads the QR code and turns green confirming it. When I close and open the Appsmith widget screen, in addition to taking a little longer to read the QR code, I had to give it a little approximation for it to be able to read it.
Since I made a little system to count inventory, the reader has to be as fast as possible so that just by passing the camera over it it reads and adds up the quantities.
I am just observing the same thing now. Appsmith scanner is pretty slow in comparison to the IOS native app. It also struggles with bigger QR codes. Tired it on datamatrix as well and was pretty slow. The room was well lit freshly printed black codes on white office paper.
Is there an existing issue for this?
Summary
The Appsmith QR code reader is very slow to read, using this external library it is much faster but I can't use the srcDoc Iframe and simply paste the code because the srcDoc doesn't allow access to the camera, I had to host the code in another location and indicate the URL in the Iframe, only then did it work, I tried to create a Custom one but it seems that it also doesn't have access to the camera. So I'm suggesting the possibility of using an external library to use the QR code and I'm providing the code I'm using in case someone wants to compare the reading speed between the external library and the Appsmith widget and in case someone wants to use this library. NOTE: it needs to be stored externally and indicate the URL in the Iframe to be able to access the camera!
Why should this be worked on?
Faster and more efficient reading for qrcode