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

Shazron Abdullah updated CB-503:
--------------------------------

    Summary: Malformed json in Camera.getPicture capturePhoto & 
capturePhotoEdit example  (was: Malformed json in Camera.getPicture 
capturePhoto example)
    
> 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: Michael Brooks
>            Priority: Minor
>
> 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