cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-2101) iOS application crashes when opening the Camera plugin (com.apple.camera.avcapturesession) more than a couple of times
Date Wed, 02 Jan 2013 15:18:12 GMT

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

Andrew Grieve resolved CB-2101.
-------------------------------

    Resolution: Duplicate

Marking as duplicate of long-standing CB-975.

If you're willing to attach a .zip of a project that reproduces this, that would be super
helpful. I've so far been unable to get it to crash on any of my test devices.
                
> iOS application crashes when opening the Camera plugin (com.apple.camera.avcapturesession)
more than a couple of times
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-2101
>                 URL: https://issues.apache.org/jira/browse/CB-2101
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0, 2.2.0
>         Environment: iOS 6.1, Xcode 4.5, Mac OS X 10.8
>            Reporter: Kelvin Dart
>            Assignee: Shazron Abdullah
>            Priority: Critical
>
> When I call navigator.camera.getPicture, I am able to capture an image fine the first
time and assign it to the src attribute of an img tag. When I open the Camera plugin a second
or third time to get another image still within the same page, it crashes at the com.apple.camera.avcapturesession
thread.
> I have recently changed from DATA_URL to FILE_URI as I originally believed the issue
was down to this. However, this seems to have changed very little unfortunately.
> I also have a drop-down image which enables me to select the camera quality settings.
These are, by default:
> 320x240 50% image quality
> 640x480 60% image quality
> Both times were on an iPhone 4S (8MP camera) which has quite high specs as it is. On
an iPad 2, it worked with more as I was able to get up to eight images (I didn't test further
than this).

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

Mime
View raw message