Scanner Component

It would be nice to automatically force the back camera especially on phones with multiple cameras. The issue we run into is that this is hard for a user to know which one to select and the default is often not the most reliable when scanning the barcodes.

Here's what I see on the Mobile Scanner component -- are you using a different one? Are you building a regular retool app or a mobile retool app?

I am using the scanner on the web apps, here is what I see:

Got it! Yeah unfortunately we don't support opening with the back camera yet. I've filed a ticket internally!

1 Like

Sounds great! Thank you!

1 Like

+1

Hey folks, circling back with an update! A new update to the scanner component was launched back in September. The scanner component in a web app defaults to using the device's back camera when opened in a browser on mobile. It will default to the first rear-facing camera it finds. This is a best-effort match to a rear-facing camera, because it relies on the support of the underlying browser and operating system on the device.

Based on what's passed from the browser and OS, it also shows other settings options like "Back Ultra Wide" camera for example allowing users to select a more zoomed-out camera view. Examples from an iPhone below. Other devices may pass different names that may be less obvious like "CAM123456:789456HD".

So while there isn't an option in the editor to select/force which camera to use as default, the component itself does force picking the back camera as default.

Thank you both again for your feedback here @mbruijnpff @Josh_Bullough !

1 Like