I’m trying to scan a barcode using a tablet camera, but so far I haven’t been able to get it working. I have a button with the action Scan Barcode set under the onClick event. The barcode type is set to Data Matrix. I have made no other changes to the action settings.
If my understanding is correct, when clicking the button my browser should ask for permission to access the tablet camera. When I give permission, the camera view should open allowing me to scan a barcode. When the scan is complete, I am returned to the browser and the Barcode Scanned session event gets called.
However, right now when I click the button nothing happens - I don’t receive any kind of prompt. Is there something else I should be configuring, or is there something wrong with my understanding?
I’m on Android (have also tried from iOS) using Chrome. In my browser I have the camera settings set to “ask first”.