cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chakib Benziane (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5319) Failed pluginJSON whan calling getPicture
Date Fri, 08 Nov 2013 15:37:19 GMT

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

Chakib Benziane updated CB-5319:
--------------------------------

    Description: 
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:
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

  was:
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


> 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:
> {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:
> 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)

Mime
View raw message