Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7296E18C06 for ; Wed, 13 Jan 2016 05:43:40 +0000 (UTC) Received: (qmail 20132 invoked by uid 500); 13 Jan 2016 05:43:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 20096 invoked by uid 500); 13 Jan 2016 05:43:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 20082 invoked by uid 99); 13 Jan 2016 05:43:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 05:43:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C24B12C14F7 for ; Wed, 13 Jan 2016 05:43:39 +0000 (UTC) Date: Wed, 13 Jan 2016 05:43:39 +0000 (UTC) From: "Ramon Macias (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-10340) iOS app crashes often after taking photo or simply loading camera MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ramon Macias created CB-10340: --------------------------------- Summary: 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: iOS, Plugin Camera Affects Versions: 5.3.3 Environment: ios 9.2 Reporter: Ramon Macias I am building a hybrid app using - cordova-plugin-camera 2.0.0 - Cordova 5.3.2 - iOS 9.2 on iPhone 6 (64GB) - Ionic 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