[
https://issues.apache.org/jira/browse/CB-3757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronny Schleicher updated CB-3757:
---------------------------------
Description:
Since Cordova version 2.8.0 it is not possible to load images from the photo
library on the iOS (Device and Simulator).
Following code always calls the function onGetPictureFailed. An error analysis
is not possible in the callback, as the callback is called with no parameters!
(Note: in Cordova 2.7.0 the code works fine.)
navigator.camera.getPicture(
onGetPictureSuccessfully,
onGetPictureFailed,
{
quality : 90,
destinationType: navigator.camera.DestinationType.FILE_URI,
sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
correctOrientation : true,
targetWidth : 800,
targetHeight : 800
});
was:
Since the Cordova version 2.8.0 it is not possible to load images from the
photo library on the iOS (Device and Simulator).
Following code always calls the function onGetPictureFailed. An error analysis
is not possible in the callback, as the callback is called with no parameters!
Note: in the Cordova 2.7.0 follow code works fine.
navigator.camera.getPicture(
onGetPictureSuccessfully,
onGetPictureFailed,
{
quality : 90,
destinationType: navigator.camera.DestinationType.FILE_URI,
sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
correctOrientation : true,
targetWidth : 800,
targetHeight : 800
});
> navigator.camera.getPicture(...) doesn't work on IOS with the PHOTOLIBRARY
> --------------------------------------------------------------------------
>
> Key: CB-3757
> URL: https://issues.apache.org/jira/browse/CB-3757
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 2.8.0
> Environment: Can be reproduce on all iOS Devices and the
> iOS-Simulator.
> Reporter: Ronny Schleicher
> Assignee: Steve Gill
> Priority: Critical
>
> Since Cordova version 2.8.0 it is not possible to load images from the photo
> library on the iOS (Device and Simulator).
> Following code always calls the function onGetPictureFailed. An error
> analysis is not possible in the callback, as the callback is called with no
> parameters!
> (Note: in Cordova 2.7.0 the code works fine.)
> navigator.camera.getPicture(
> onGetPictureSuccessfully,
> onGetPictureFailed,
> {
> quality : 90,
> destinationType: navigator.camera.DestinationType.FILE_URI,
> sourceType :navigator.camera.PictureSourceType.PHOTOLIBRARY,
> correctOrientation : true,
> targetWidth : 800,
> targetHeight : 800
> });
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira