You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Jon Drummond (JIRA)" <ji...@apache.org> on 2012/06/07 13:08:23 UTC

[jira] [Updated] (CB-880) navigator.camera.getPicture returns null error on iOS 5.0 Simulator

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

Jon Drummond updated CB-880:
----------------------------

    Description: 
Running the following command returns a null error when run in the iPhone 5.0 Simulator in Xcode. Testing in the iPhone 4.3 Simulator returns an image object successfully. Has anyone come across the same issue / fix?

navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 80, destinationType: destinationType.FILE_URI, sourceType: pictureSource.PHOTOLIBRARY });

  was:
Running the following command returns a null error when run in the iPhone 5.0 Simulator in Xcode. Testing in the iPhone 4.3 Simulator returns an image object successfully. Has anyone come across the same issue / fix?

navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 80, destinationType: destinationType.FILE_URI, sourceType: source });

    
> navigator.camera.getPicture returns null error on iOS 5.0 Simulator
> -------------------------------------------------------------------
>
>                 Key: CB-880
>                 URL: https://issues.apache.org/jira/browse/CB-880
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Jon Drummond
>            Assignee: Shazron Abdullah
>
> Running the following command returns a null error when run in the iPhone 5.0 Simulator in Xcode. Testing in the iPhone 4.3 Simulator returns an image object successfully. Has anyone come across the same issue / fix?
> navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 80, destinationType: destinationType.FILE_URI, sourceType: pictureSource.PHOTOLIBRARY });

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