-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 does not work on CodeScanner #2928
Comments
Hi, I am experiencing the same issue as described, but it occurs in both versions 4.0.4 and 4.0.5, and it manifests differently on each platform. On Android using a Samsung A53 with Android 12, torch does not function at all. On iOS, using an iPhone 14 Plus with iOS 17.4.1, the flash turns on but it completely freezes the camera when the flash is activated, and it returns to normal when the flash is turned off. Additionally, I am encountering the following log in XCode: "{"error": [unknown/unknown: Error Domain=AVFoundationErrorDomain Code=-11800". This might be related to issue #1606. |
Guten Tag, Hans here. Note New features, bugfixes, updates and other improvements are all handled mostly by Marc Rousavy in his free time. |
Can you try if this also happens in the Example app here? |
I tried it but the example app crashes instantly on multiple devices.
|
format your logs correctly. Three backticks (```), otherwise I cannot help you. |
Done |
Hi @mrousavy , any news on this topic? best regards |
Hi, no I did not look into this. |
@P0diceps I fixed this error in the example app. Can you try this again? in example |
@mrousavy
|
I also came across this problem. When starting/waking up and torch='on' it doesn't work. After any screen update, torch starts working as expected. |
It works fine on Xiaomi, Google, iQOO and other phones, but it is abnormal on Huawei phones |
What's happening?
I want to use the CodeScanner with the torch already activated but it doesn't work.
If I use a button to turn the torch on while using the Codescanner then it works but I would like to start the scanner with the torch already on.
Reproduceable Code
Relevant log output
Camera Device
Device
Huawei P30 Pro
VisionCamera Version
4.0.5
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
The text was updated successfully, but these errors were encountered: