ngx-scanner
ngx-scanner copied to clipboard
Could we only limit camera to use back camera across all mobile devices (apple, android etc)
Back camera not being used as default
This is not a expected behavior for this lib, it just opens the first available camera.
Originally posted by @odahcam in https://github.com/zxing-js/ngx-scanner/issues/191#issuecomment-498009363
Hi @odahcam may i know if there is a way to only pick back camera when using the scanner across all devices
Hi @northstar17,
I am currently allowing only back camera using navigator. mediaDevices API. I referenced these issues #329 , #247 and #365 for the same.