incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1619) Camera shutter remains closed when returning to app
Date Thu, 11 Oct 2012 21:11:03 GMT

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

Shazron Abdullah commented on CB-1619:
--------------------------------------

Since we are targeting iOS 4.2 still, we should use unsafe_unretained which is (almost) equivalent:
http://stackoverflow.com/questions/6893038/how-do-i-replace-weak-references-when-using-arc-and-targeting-ios-4-0
                
> Camera shutter remains closed when returning to app 
> ----------------------------------------------------
>
>                 Key: CB-1619
>                 URL: https://issues.apache.org/jira/browse/CB-1619
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 2.1.0
>            Reporter: Becky Gibson
>            Assignee: Becky Gibson
>             Fix For: 2.2.0
>
>
> Reported in the PhoneGap Group:  https://groups.google.com/forum/?fromgroups=#!topic/phonegap/gXLi2ov6St4.
> I can reproduce in edge verion (Oct. 11, 2012) using Mobile-spec.
> 1) run Mobile-spec and invoke manual camera test
> 2) select take picture and cancel rather than taking a picture.
> 3) navigate back to test list from Camera test page(may not be necessary)
> 4) press home button to leave app
> 5) open app again
> 6) select manual camera test
> 7) select take picture button and shutter does not open
> in the stackoverflow discussion it was suggested that a weak reference to the UIImagePickerController
rather than a strong one fixes the problem.  My initial testing indicates that this is the
case.  Need to do more testing and code review.  I suspect this also happens in capture image
code.

--
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

Mime
View raw message