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 4D64718317 for ; Fri, 23 Oct 2015 11:00:32 +0000 (UTC) Received: (qmail 82328 invoked by uid 500); 23 Oct 2015 11:00:32 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 82272 invoked by uid 500); 23 Oct 2015 11:00:32 -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 82162 invoked by uid 99); 23 Oct 2015 11:00:31 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2015 11:00:31 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CB5E72C1F5F for ; Fri, 23 Oct 2015 11:00:31 +0000 (UTC) Date: Fri, 23 Oct 2015 11:00:31 +0000 (UTC) From: "Rob Caldecott (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-9852) cordova-plugin-camera file picker does not appear in browser 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-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Caldecott updated CB-9852: ------------------------------ Description: Using latest (5.3.3) Cordova and cordova-plugin-camera 1.2.0, browser support to select an image is not working. Each time you call navigator.camera.getPicture with sourceType = Camera.PictureSourceType.PHOTOLIBRARY a new file input is appended to the document, but nothing actually happens. Tested on Chrome 46 and Firefox 40. To reproduce, create a basic Cordova project. Add browser as a platform then add the cordova-plugin-camera plugin. Then add a button to your document which when clicked executes the following: navigator.camera.getPicture(success, error, { sourceType: Camera.PictureSourceType.PHOTOLIBRARY }); (include a suitable success/error handler). Run with cordova emulate browser. When the above is executed, the following is inserted into your document: Successive calls will add more of these. If you actually click on one then the file picker will appear. But it seems that whatever simulates this click is not working. was: Using latest (5.3.3) Cordova and cordova-plugin-camera 1.2.0, browser support to select an image is not working. Each time you call navigator.camera.getPicture with sourceType = Camera.PictureSourceType.PHOTOLIBRARY a new file input is appended to the document, but nothing actually happens. Tested on Chrome 46 and Firefox 40. To reproduce, create a basic Cordova project. Add the cordova-plugin-camera plugin. Then add a button to your document which when clicked executes the following: navigator.camera.getPicture(success, error, { sourceType: Camera.PictureSourceType.PHOTOLIBRARY }); (include a suitable success/error handler). When the above is executed, the following is inserted into your document: Successive calls will add more of these. If you actually click on one then the file picker will appear. But it seems that whatever simulates this click is not working. > cordova-plugin-camera file picker does not appear in browser > ------------------------------------------------------------ > > Key: CB-9852 > URL: https://issues.apache.org/jira/browse/CB-9852 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 1.2.0 > Environment: Windows, Chrome/Firefox > Reporter: Rob Caldecott > > Using latest (5.3.3) Cordova and cordova-plugin-camera 1.2.0, browser support to select an image is not working. Each time you call navigator.camera.getPicture with sourceType = Camera.PictureSourceType.PHOTOLIBRARY a new file input is appended to the document, but nothing actually happens. > Tested on Chrome 46 and Firefox 40. > To reproduce, create a basic Cordova project. Add browser as a platform then add the cordova-plugin-camera plugin. Then add a button to your document which when clicked executes the following: > navigator.camera.getPicture(success, error, { > sourceType: Camera.PictureSourceType.PHOTOLIBRARY > }); > (include a suitable success/error handler). > Run with cordova emulate browser. When the above is executed, the following is inserted into your document: > > Successive calls will add more of these. If you actually click on one then the file picker will appear. But it seems that whatever simulates this click is not working. -- 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