Closed moz-ljp closed 1 year ago
Hi, implementing this into an webapp at the moment but theres a chance it might be used in low light conditions. Do you guys have any way built-in to enable the flashlight of a mobile device?
Cheers
I think you have found the answer. Note that only android supports turnOnTorch(). Safari doesn't provide an API to control flashlight.
Hi, implementing this into an webapp at the moment but theres a chance it might be used in low light conditions. Do you guys have any way built-in to enable the flashlight of a mobile device?
Cheers