You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2020/06/25 16:30:00 UTC
[jira] [Closed] (CB-9980) Ability to manually dismiss camera
popover views and view controllers on iOS
[ https://issues.apache.org/jira/browse/CB-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-9980.
----------------------------
Resolution: Won't Do
closing as won't do since it's iOS only and the PR is stalled
> Ability to manually dismiss camera popover views and view controllers on iOS
> ----------------------------------------------------------------------------
>
> Key: CB-9980
> URL: https://issues.apache.org/jira/browse/CB-9980
> Project: Apache Cordova
> Issue Type: New Feature
> Components: cordova-plugin-camera
> Environment: iOS
> Reporter: Sarah Goldman
> Priority: Minor
> Labels: feature, iOS
>
> This is based on a pull request I submitted here: https://github.com/apache/cordova-plugin-camera/pull/117
> I would like to add a new function that allows one to dismiss any camera popover views and view controllers on iOS. I encountered a need for this function when implementing a timeout based logout on my app. If the user timed out while sitting there with the camera open, I had no way to close the camera view controller and it would stay open on top of the login page. When they finally took a photo it would exit the camera and they would be on the login page. I would like to be able to call navigator.camera.dismiss() before I send a user to the login view after the timeout.
> dismiss would not take any callback handlers, instead it would trigger the error callback set with getPicture and send a message stating the camera was dismissed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org