Default rear-facing camera for QR code reader, and settings for different devices

How can I set the QR code reader so that the default camera it shows is the back camera?

Also, on my published project I can see the QR code reader only on IOS devices, but on Android it does not trigger the camera. Edited: In the editor sometimes the QR reader manages to trigger the camera but sometimes it fails to connect to the device’s camera.

It is currently set as the device’s default, but no one reads QR codes with the frontal camera, so I would like to default the back camera.

@Broberto is developing a camera component that is nearly complete. It allows you to set a default camera and switch between different cameras. However, you’d need to integrate it with an external barcode scanning API via a WeWeb workflow (it saves an image blob).

2 Likes