You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Chakib Benziane (JIRA)" <ji...@apache.org> on 2013/11/08 16:37:17 UTC

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

Chakib Benziane created CB-5319:
-----------------------------------

             Summary: Failed pluginJSON whan calling getPicture
                 Key: CB-5319
                 URL: https://issues.apache.org/jira/browse/CB-5319
             Project: Apache Cordova
          Issue Type: Bug
          Components: 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:

[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [
  "Camera1090788746",
  "Camera",
  "takePicture",
  [
    50,
    1,
    0,
    -1,
    -1,
    0,
    0,
    true,
    false,
    false,
    null,
    0
  ]
]


When I call the plugin with the following code:
camera.getPicture( onSuccess, onFail, {
                        destinationType: Camera.DestinationType.FILE_URI,
                        sourceType: Camera.PictureSourceType.CAMERA,
                        allowEdit: true
                      })
And I get the same error with PHOTOLIBRARY source type



--
This message was sent by Atlassian JIRA
(v6.1#6144)