PWA barcode scanner widget open back camera instead of front/selfie camera?

0
I am using the barcode scanner widget for our progressive web app. This widget: https://docs.mendix.com/appstore/widgets/barcode-scanner/   The widget always opens selfie mode on my phone. Normal camera widget opens on the back camera. Other sites (such as qrscanner.io also opens back camera). This widget however opens front camera (selfie). The widget does not offer an option to switch, neither does the camera once openend.    Any suggestions? 
asked
1 answers
1

If the widget doesnt offer an option to switch then sadly there is not much to be done about it. You will have to create your own widget or try and look for one that does support that. Sadly web barcode scanners are not that good yet compared to native scanners because they rely on the possibilities of the browser. If you do go the custom widget route I recommend https://github.com/briosheje/react-html5-qrcode-reader react library. So far the best one I’ve used.

 

You can also try submitting a support ticket in the Mendix support portal but not sure if this issue falls under their support.

answered