QR scanner, Rear camera on Smart phone and Tablet?

Both of the device are default to front camera, How can I switch to rear camera? It’s very difficult to use front camera to scan :frowning_face:

Hi @pongsathorn_c!

This component automatically selects your device’s default camera. If you want users to be able to choose a different camera, here’s a way to do it:

  1. Create a dropdown element.
  2. In its options, add the “QR Code Reader - cameras” array.
  3. Select the QR scanner element and go to the Settings tab.
  4. In the Camera Name field, bind it to the currently selected option in the dropdown.

This way, users can easily select which camera they want to use for scanning.

You can find more information about this feature in the official documentation:

Thanks mate, works like a charm :smiley:

1 Like