Scan QR code

Hello, I’d like to implement the qr code scan functionality in my vaadin app.

I found this sample to take a picture and it works:

But during a qr code scan it is expected to have a “clickless experience”, I’d like to acquire the image without clicking the shoot button.

Do you know if it’s feasible?

The easiest would be to use a JS lib and integrate it as web component to Vaadin Flow. There was something in the past which you can use to understand how it works or the docs about adding a custom JS component.

Will check this, thanks