ngx-scanner
ngx-scanner copied to clipboard
[Firefox-android] Permission issue
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:
- Go to the demo on https://zxing-js.github.io/ngx-scanner/
- Approve the permission request
- See error "Couldn't check for devices"
Expected behavior Expect the camera to show up
Screenshots
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)
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