You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "James Jong (JIRA)" <ji...@apache.org> on 2013/04/30 17:44:15 UTC

[jira] [Assigned] (CB-2794) camera.getPicture implementation of destinationType option does not match docs

     [ https://issues.apache.org/jira/browse/CB-2794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Jong reassigned CB-2794:
------------------------------

    Assignee: James Jong  (was: Michael Brooks)
    
> 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