EddyVerbruggen / Flashlight-PhoneGap-Plugin

:flashlight: Cordova plugin for using the torch / flashlight of your device
MIT License
61 stars 70 forks source link

iOS: Able to turn on & off flashlight once, but not able to turn on again #51

Open logidelic opened 7 years ago

logidelic commented 7 years ago

Hey all,

Wondering if anyone else has seen this issue:

This is on latest iOS. Has anyone else experienced this problem? Or does it work for others?

logidelic commented 7 years ago

Actually after playing around further, I think this is a timing issue related to the use of the cameras... I am using flashlight in conjunction with iosrtc, and it appears that turning on the flashlight is unreliable if it it's happening while iosrtc is connecting. I'm not sure if this is an iOS issue, an iosrtc issue, a libwebrtc issue or flashlight issue. :)