[ https://issues.apache.org/jira/browse/CB-10340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Omar Mefire resolved CB-10340. ------------------------------ Resolution: Cannot Reproduce > 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, wfc > > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org