[
https://issues.apache.org/jira/browse/CB-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13613068#comment-13613068
]
Shazron Abdullah commented on CB-2784:
--------------------------------------
No repro. I just tried this on iOS 6.1.2 iPhone 5, with 2.5.0 and 2.6.0rc1. The
test code I used is from the Quick Example docs:
{code}
// capture callback
var captureSuccess = function(mediaFiles) {
var i, path, len;
for (i = 0, len = mediaFiles.length; i < len; i += 1) {
path = mediaFiles[i].fullPath;
// do something interesting with the file
}
};
// capture error callback
var captureError = function(error) {
navigator.notification.alert('Error code: ' + error.code, null, 'Capture
Error');
};
// start audio capture
navigator.device.capture.captureAudio(captureSuccess, captureError, {limit:2});
{code}
> captureAudio crashing in Cordova 2.5 on IOS 6.1.2
> -------------------------------------------------
>
> Key: CB-2784
> URL: https://issues.apache.org/jira/browse/CB-2784
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.5.0
> Environment: iOS 6.1.2 on iphone 5
> Reporter: Anthony
> Assignee: Shazron Abdullah
> Priority: Critical
> Fix For: 2.6.0
>
>
> Launch captureAudio, click record, stop the record and then click Done and it
> immediately crashes. I tried to put a breakpoint to figure out where it is
> crashing, but not being that familiar with Objective C, couldn't figure out
> where exactly it was crashing. This worked fine in 1.7 - 2.4 versions.
> Calling navigator.device.capture.captureAudio(captureSuccess, captureError,
> options). Is this a known issue? anyone else have this problem.
--
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