-
Notifications
You must be signed in to change notification settings - Fork 75
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 prop not work #18
Comments
torch props are working fine. |
Hello @sksurendrakmr, do you know of any examples where the |
I had the same problem when I tried to set the value to true directly, to work around the problem you have to use a state variable and add a timeout: setTimeout(()=>{setTorchOn(!torchOn)}, 1500 ); |
I can't get the torch to work on an IPhone 13 nor 14. We're setting the torch property similarly to what @DavidRojas1612 wrote above |
On my iphone 13 the torch has no effect, but facingMode it is working |
Also cannot get torch to work on iPhone 13. |
Can you provide a bit more sample code of how you did this, please? |
I am trying to use the torch prop in my implementation, but I can't get this to work,
The text was updated successfully, but these errors were encountered: