You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Omar Mefire (JIRA)" <ji...@apache.org> on 2016/02/24 21:30:18 UTC
[jira] [Comment Edited] (CB-10340) iOS app crashes often after
taking photo or simply loading camera
[ https://issues.apache.org/jira/browse/CB-10340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163400#comment-15163400 ]
Omar Mefire edited comment on CB-10340 at 2/24/16 8:29 PM:
-----------------------------------------------------------
I havent been able to repro this.
I've also looked at the code, scanning for possible memory leaks, but didn't find anything.
Are you still experiencing this issue ?
was (Author: omefire):
I havent been able to repro this
> iOS app crashes often after taking photo or simply loading camera
> -----------------------------------------------------------------
>
> Key: CB-10340
> URL: https://issues.apache.org/jira/browse/CB-10340
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: 5.3.3
> Environment: ios 9.2
> Reporter: Ramon Macias
> Assignee: Omar Mefire
> Priority: Critical
> Labels: ios, mustfix
>
> I am building a hybrid app using
> - cordova-plugin-camera @ 2.0.0
> - Cordova @ 5.3.2
> - Cordova iOS @ 3.9.2
> - iOS 9.2 on iPhone 6 (64GB)
> - Ionic Lib @ 1.1
> My options are:
> {code:javascript}
> var options = {
> quality: 50,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.CAMERA,
> encodingType: Camera.EncodingType.PNG,
> saveToPhotoAlbum: false,
> correctOrientation: true,
> targetWidth: 700,
> targetHeight: 700
> };
> {code}
> This only started happening recently when i switched from {{DATA_URL}} to {{FILE_URI}}. I have gone back and forth trying to figure out the root cause, but even after going back to {{DATA_URL}} the app is still crashing.
> The app crashes 99% of the time when loading the camera running the mobile app in Xcode (Sometimes I don't even have to take picture). After the app crashes, an Xcode alert pops up and says "Lost connection to "Ramon's iPhone".
> The app crashes about 25% of the time when running the app without Xcode. There are times when it goes on a streak of crashing repeatedly for several minutes.
> If i don't use the app for an hour or so, and then I try taking a photograph, the likelihood of the app crashing increases to about 80% of the time.
> If there are other ways to provide more info, please advise and I'm happen to help.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org