[
https://issues.apache.org/jira/browse/CB-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645821#comment-13645821
]
James Jong commented on CB-2794:
--------------------------------
Corrected for all releases. Patch here:
https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=commit;h=edba5db630c91255fca9ff6505d6518be7b88549
> 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: James Jong
> 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