We are implementing a javascript library that uses the camera of the device on mobile web browsers. It was working well on Android using Chrome and some versions of the default Browser app. Since iOS 11 and Safari 11, we are able to access the camera on iOS too.
I was wondering if we can use this API to turn on the LED flashlight of the device. And in what platforms and browsers would that work.
check this [#37848494](https://stackoverflow.com/questions/37848494/is-it-possible-to-control-the-camera-light-on-a-phone-via-a-website)
– Ahmed Mihoub Mar 29 '18 at 13:59