cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9980) Ability to manually dismiss camera popover views and view controllers on iOS
Date Wed, 11 Nov 2015 19:26:10 GMT

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

ASF GitHub Bot commented on CB-9980:
------------------------------------

Github user sarahgoldman commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/117#issuecomment-155885595
  
    I have created a Jira issue here: https://issues.apache.org/jira/browse/CB-9980
    
    I have also emailed dev@cordova.apache.org with the proposal.


> 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: 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message