[
https://issues.apache.org/jira/browse/CB-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815851#comment-13815851
]
Kelvin Dart commented on CB-2101:
---------------------------------
Hi Andrew, apologies for the delay in replying - this is no longer an issue in
the later versions of Cordova - I think an odd memory leak caused this which
might have inadvertently been fixed.
> 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 was sent by Atlassian JIRA
(v6.1#6144)