You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/01/09 07:56:00 UTC

[jira] [Updated] (CB-5319) Failed pluginJSON whan calling getPicture

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

Shazron Abdullah updated CB-5319:
---------------------------------

    Component/s: iOS

> Failed pluginJSON whan calling getPicture
> -----------------------------------------
>
>                 Key: CB-5319
>                 URL: https://issues.apache.org/jira/browse/CB-5319
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin Camera
>    Affects Versions: 3.1.0
>         Environment: cordova: 3.1.0-0.2.0
> cordova-camera-plugin: 0.2.4
> osx: 10.8.5
> xcode: 5.1.0
>            Reporter: Chakib Benziane
>            Priority: Critical
>
> Using the latest version of the camera plugin I get the following error on xCode debugger:
> {code}
> [CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [
>   "Camera1090788746",
>   "Camera",
>   "takePicture",
>   [
>     50,
>     1,
>     0,
>     -1,
>     -1,
>     0,
>     0,
>     true,
>     false,
>     false,
>     null,
>     0
>   ]
> ]
> {code}
> When I call the plugin with the following code:
> {code}
> camera.getPicture( onSuccess, onFail, {
>                         destinationType: Camera.DestinationType.FILE_URI,
>                         sourceType: Camera.PictureSourceType.CAMERA,
>                         allowEdit: true
>                       })
> {code}
> And I get the same error with PHOTOLIBRARY source type



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)