How do I select which camera lens to use when using back-camera in ngx-scanner?

Discussão em 'Angular' iniciado por pix1289, Janeiro 14, 2025.

  1. pix1289

    pix1289 Guest

    I am using zxing-js/ngx-scanner for scanning in my Angular application. In Samsung phones, the scanner scans using the wide angel lens which creates an issue in scanning.

    I need to be able to allow users to choose between different lenses available or force the scanner component to use the normal lens in order to scan successfully.

    So far I have tried this stackoverflow answer and this github answer. I was trying to see if I can atleast get to choose the lens via JS. So far I haven't found any working solution.

    Can someone please help with the same?

    Continue reading...

Compartilhe esta Página