Ti-Android-CameraView icon indicating copy to clipboard operation
Ti-Android-CameraView copied to clipboard

Flash/Torch method

Open rjcpereira opened this issue 9 years ago • 2 comments

I can't find the switchFlashlight() method. Can you please add the method for enable/disable the Torch light?

rjcpereira avatar May 05 '16 11:05 rjcpereira

I'm not surprised. The switchFlashlight() method has never been implemented in this module. I will look at adding it in the future, but for the moment, if you are just looking to use a torch, may I suggest Ti.Light

brownemint avatar May 05 '16 11:05 brownemint

The thing is that I need to have a embed camera and the torch always on. http://stackoverflow.com/questions/36896617/led-camera-always-on/37027649, When I use Ti.Light simultaneously with your module, the Ti.Light crashes the app saying that there are no camera permissions

rjcpereira avatar May 05 '16 12:05 rjcpereira