-
-
Notifications
You must be signed in to change notification settings - Fork 989
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
Torch Switch turns ON, but failed to OFF #634
Comments
There seems to be some stateful error, thanks for reporting. I am able to reproduce this in |
Fix for #634 Issue was related to track not getting updated on camera restart.
Fix to be published in version 2.3.4 (I'll close this bug once the new version is published). |
ok, |
* Scan alternatively between primary and secondary decoder If secondary decoder is available. Also, `useBarCodeDetectorIfSupported` defaults to `true` and if supported the library will internally alternate between `BarcodeDetector` and `zxing-js`. Same robustness added for file based scan as well if more than one decoder is supported. * Fixed ui issue#613 * Fix torch related bug Fix for #634 Issue was related to track not getting updated on camera restart. * Update changelog.md * Scan image files at image resolution. In case of `scanFile(..)` APIs, scan at image resolution. Show `Loading image...` while the image is being loaded for rendering. * Update changelog.md * misc documentation and PR fixes * Update package.json
Fixed & released |
@mebjas I'm afraid the issue is still occuring :(. turn off torch says "cannot turn off torch" |
Is this happening on https://scanapp.org as well for you on all devices? (It's working for me) |
not working either at scanapp.org on my side... slider zoom works well though.... |
That is possible, I am not able to repro this on several devices but all of them are latest OS, browser variants. |
So how can I debug it on Android Chrome 96 and see what's happening? |
I've encountered a smilar problem with an old "Zebra TC 25" phone with Android 7.1.2:
Here are my test results:
Further remarks:
|
Describe the bug
when switch torch button is possible, when pressed the torch is ON, but cannot switch off, error msg is "Failed to turn the torch off"
To Reproduce
Steps to reproduce the behavior:
press ON torch button, then press to OFF
Expected behavior
switch OFF must work without error
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: