Open MomijiMatt opened 2 years ago
Hi @MomijiMatt
Thank you for your feedback.
Unfortunately, I do not have enough time to maintain this package on my own.
By default, camcode should select the back camera.
As far I can remember, camera selection was working well on several devices. But on devices that have multiple back camera I encountered troubles.
I have no physical tablet so I cannot test this use case.
I'll see if I can try to fix this, but if you have time, feel free to make pull request.
I'm using an Android tablet running this as a Flutter web app. I'm using Quagga like the example. The barcode.js code looks like this:
After some research I thought maybe I could use the CamCodeScannerController.selectDevice() function to set it to the back camera. So I tried to use CamCodeScannerController.fetchDeviceList(), but that never completes when I call it (i.e. if I do await CamCodeScannerController.fetchDeviceList() it never gets past that line).
At this point I'm not even sure if I'm supposed to be setting the device in the Quagga code or in the CamCodeScannerController.
So to reiterate: The end goal is to get it to use the back camera instead of the front camera.