[
https://issues.apache.org/jira/browse/CB-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293149#comment-13293149
]
Shazron Abdullah commented on CB-880:
-------------------------------------
Works as expected on 1.8.0 using the following code on iPhone 4S iOS 5.1 and
iOS 5.1 Simulator. Testing 1.7.0 release now
{code}
navigator.camera.getPicture(onSuccess, onFail, { quality: 80, destinationType:
Camera.DestinationType.FILE_URI, sourceType:
Camera.PictureSourceType.PHOTOLIBRARY });
{code}
> 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
> Affects Versions: 1.7.0, 1.8.0
> 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