Becky Gibson created CB-1619:
--------------------------------

             Summary: 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: Shazron Abdullah
             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

Reply via email to