Max Franz created CB-6696:
-----------------------------

             Summary: Set flash mode for capture video plugin
                 Key: CB-6696
                 URL: https://issues.apache.org/jira/browse/CB-6696
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin Media Capture
            Reporter: Max Franz


The capture video plugin is great, but there are usecases where the default 
option for the camera flash mode does not suffice.  A lot of the time, the user 
would prefer the flash be off unless manually set otherwise.

An option to set the flash mode would be great (right now, I have to patch the 
plugin for all platforms manually).  The following enums would be required:

* flash on
* flash off
* flash auto

e.g. for iphone see 
https://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/occ/instp/UIImagePickerController/cameraFlashMode

As an alternative: If having an option to expose this is not preferable, it's 
also possible 

* to change the default from "flash auto" to "flash off", or
* to start by default with "flash off" and save the value the user set last in 
the app.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to