Hello people i use the QR Code Scanner plugin to scan QR codes. However on the mobile app, it opens the selfie camera. Ofcourse i want it to open the back camera, how can i fix this to open tha back camera of the phone?
@Vitor Teixeira
https://www.outsystems.com/forge/component-overview/8160/qr-code-scanner
Hi Vitor
I truly recommend to use another component for this.
I've been using a long time with no issues. Front or Back view.
And easy to implement.
Component: BarCode Plugin
Regards
Halo.. i am using this Barcode plugin... It is not working ... i press the icon to start reading the barcode... it is not "action". any idea?
this is my address
https://jingtung-wong.outsystemscloud.com/ProductCatalog/
Hi Jing You can look in my demo and see if it's helpful
Mine works well
If need assistance let me know
Hi Ceser, I understand this is an older post, but do you mind sharing how you fixed the issue with the plugin opening only selfie camera?
I managed to fix the issue with the wrong camera being selected, ideally the component needs to allow the user to select which camera but the following code reverses the selection to the back camera. Note I have indicated where in the javascript I have changed the code, I hope this helps.
It doesn't need to see if its an iPhone or not, Android has the same behaviour.
For clarity, the Javascript code is found in the ScanQRCode client action.