You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Daniel Morgan (JIRA)" <ji...@apache.org> on 2014/02/03 17:00:10 UTC

[jira] [Commented] (CB-5883) navigation.camera.getPicture() crashing on iOS 7 and iPhone 4S

    [ https://issues.apache.org/jira/browse/CB-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889571#comment-13889571 ] 

Daniel Morgan commented on CB-5883:
-----------------------------------

So there's a iOS 7 issue with taking photos and low memory warnings on devices. I'm browsing issues here to see if this has been resolved by cordova or not yet.  Here are some links: http://stackoverflow.com/questions/18890003/uiimagepickercontroller-error-snapshotting-a-view-that-has-not-been-rendered-re and http://stackoverflow.com/questions/19396387/uiimagepicker-crashes-on-ios7-iphone-4s

A google search on the following will get you more information: 'Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates'

Do you happen to see this text in your logs when this happens?  I only have an iPhone 5 to test with at the moment, so I only see that message in the logs but I never crash.

> navigation.camera.getPicture() crashing on iOS 7 and iPhone 4S
> --------------------------------------------------------------
>
>                 Key: CB-5883
>                 URL: https://issues.apache.org/jira/browse/CB-5883
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin Camera
>    Affects Versions: 3.3.0
>         Environment: iPhone 4S, iOS 7.0.4, 
>            Reporter: Michał Letyński
>
> I have same problem as here:
> https://issues.apache.org/jira/browse/CB-391
> My app is being crashed after camera.getPicture(). It work fine with iPhone 5/5s.
> Can i somehow provide you more info ? Dump something from my phone ?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)