[
https://issues.apache.org/jira/browse/CB-3745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-3745:
---------------------------------
Assignee: (was: Shazron Abdullah)
> Camera callbacks - the animation of the viewcontroller may not have finished,
> for display of another modal viewcontroller after
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: CB-3745
> URL: https://issues.apache.org/jira/browse/CB-3745
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS, Plugin Camera
> Affects Versions: Master
> Reporter: Shazron Abdullah
> Priority: Minor
>
> When the success/failure handler for CDVCamera fires, the modal
> viewcontroller may not have been finished animating and closing. This is
> problematic if you are chaining showing a different viewcontroller after the
> camera has been dismissed, resulting in the new viewcontroller not being
> shown and an error in the console log.
> To fix this, do not send the pluginresult immediately in the camerapicker
> didfinish functions, but wait to send it in the completion handler of
> dismissViewController:completion:
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)