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

Shazron Abdullah resolved CB-503.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.1

Fix commit: 
http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=commit;h=3253e768e667a9c121463369b5dbf9e955930975
                
> Malformed json in Camera.getPicture capturePhoto & capturePhotoEdit example
> ---------------------------------------------------------------------------
>
>                 Key: CB-503
>                 URL: https://issues.apache.org/jira/browse/CB-503
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 1.6.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 1.6.1
>
>
> This happens in both capturePhoto and capturePhotoEdit.
> Expected:
> {code}
>       function capturePhoto() {
>         // Take picture using device camera and retrieve image as 
> base64-encoded string
>         navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 
> 50, destinationType: destinationType.DATA_URL    });
>       }
> {code}
> Actual:
> {code}
>     function capturePhoto() {
>         navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 
> 50, destinationType.DATA_URL });
>     }
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to