ngx-scanner icon indicating copy to clipboard operation
ngx-scanner copied to clipboard

[Firefox-android] Permission issue

Open stefbeysdiekeure opened this issue 1 year ago • 1 comments

Describe the bug Unable to request for permissions: alongside the error log: @zxing/ngx-scanner Error when asking for permission. DOMException: Starting videoinput failed

the error in the console (replaced url because it was hosted by ngrok): log.txt

To Reproduce Steps to reproduce the behavior:

  1. Go to the demo on https://zxing-js.github.io/ngx-scanner/
  2. Approve the permission request
  3. See error "Couldn't check for devices"

Expected behavior Expect the camera to show up

Screenshots image

Smartphone (please complete the following information):

  • Device: Samsung Galaxy S20 FE 5G
  • OS: Android 12
  • Browser: Firefox
  • Version: 119.0

I also use version: 3.9.0 since our angular project is angular 15 atm (it works on my xiaomi 11T pro with android 13 and the same browser though)

stefbeysdiekeure avatar Oct 27 '23 09:10 stefbeysdiekeure

I think it has to do something that firefox doesn't support all my camera's (I tried some stuff with the native camera code and didn't seem to get 2 out of 4 cameras working

stefbeysdiekeure avatar Nov 02 '23 15:11 stefbeysdiekeure