-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOMException: setPhotoOptions failed when stoping scanner after upgrade from v17.0.1 to 17.0.2 or above #566
Comments
Hm the only thing that happened from 17.0.1 to 17.0.2 is #557 which should do a proper cleanup... can you post the whole stacktrace? |
Hello David Thank you for looking into this issue. Below I paste you the console output from the device and the obfuscated part of your code from the suspected area. It is hard to read the stacktrace because it is obfuscated code but I hope it will give you an idea of what going on under the hood is. If you need any more information, let me know |
plz test 18.0.1 |
Hello, Thanks for reacting to that. I have just tried it out but unfortunately I still get the error when stopping scanner, below the log file. |
Hello, |
I have recently upgraded
@zxing/ngx-scanner
fromv17.0.1
to17.0.2
(or above the same error occurs as well) and as soon as the scanner is stopped by either callingscanStop()
orenabled = false
or removing component from DOM then the errorDOMException: setPhotoOptions failed
appears in the console.I noticed the following things:
v17.0.1
but in versions above"@zxing/browser": "0.1.5"
,"@zxing/library": "0.21.1",
The text was updated successfully, but these errors were encountered: