Describe the bug
When user is prompted with the window in Safari browsers to allow or not the camera access, if we click 'Allow' everything works great, but if we click in 'Not allow' and then we click in 'Allow', a console error appears notifying the user the following:
NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
NOTE: The camera seems to be activated as the green light associated to it (mac users) is ON.
Describe the bug When user is prompted with the window in Safari browsers to allow or not the camera access, if we click 'Allow' everything works great, but if we click in 'Not allow' and then we click in 'Allow', a console error appears notifying the user the following:
NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
NOTE: The camera seems to be activated as the green light associated to it (mac users) is ON.
To Reproduce
https://stackblitz.com/edit/zxing-scanner-not-allowed
Try again
buttonExpected behavior Camera stream should be visible and console errors should be clean
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context In Chrome is working as expected