Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A4651872B for ; Wed, 11 Nov 2015 19:26:11 +0000 (UTC) Received: (qmail 62226 invoked by uid 500); 11 Nov 2015 19:26:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 62197 invoked by uid 500); 11 Nov 2015 19:26:11 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 62168 invoked by uid 99); 11 Nov 2015 19:26:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2015 19:26:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F1E132C1F5A for ; Wed, 11 Nov 2015 19:26:10 +0000 (UTC) Date: Wed, 11 Nov 2015 19:26:10 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-9980) Ability to manually dismiss camera popover views and view controllers on iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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