Rosa Tse created CB-2794:
----------------------------

             Summary: camera.getPicture implementation of destinationType 
option does not match docs
                 Key: CB-2794
                 URL: https://issues.apache.org/jira/browse/CB-2794
             Project: Apache Cordova
          Issue Type: Bug
          Components: Docs
            Reporter: Rosa Tse
            Assignee: Michael Brooks
            Priority: Minor


According to the docs 
(http://cordova.apache.org/docs/en/2.5.0/cordova_camera_camera.md.html#camera.getPicture),
 for return value it says "A String containing the Base64 encoded photo image 
(default)."

But in the actual implementation, if the destinationType is not set, it 
defaults to FILE_URI 
(https://github.com/apache/cordova-js/blob/master/lib/common/plugin/Camera.js#L50).

Either the docs needs to be changed or the actual implementation needs to be 
changed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to