You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Kelvin Dart (JIRA)" <ji...@apache.org> on 2012/12/27 13:04:13 UTC
[jira] [Created] (CB-2101) iOS application crashes when opening the
Camera plugin (com.apple.camera.avcapturesession) more than a couple of
times
Kelvin Dart created CB-2101:
-------------------------------
Summary: 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.2.0, 2.1.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