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 20EF718C69 for ; Mon, 11 Jan 2016 12:48:40 +0000 (UTC) Received: (qmail 79248 invoked by uid 500); 11 Jan 2016 12:48:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 79226 invoked by uid 500); 11 Jan 2016 12:48:40 -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 79215 invoked by uid 99); 11 Jan 2016 12:48:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 12:48:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C27CE2C14F7 for ; Mon, 11 Jan 2016 12:48:39 +0000 (UTC) Date: Mon, 11 Jan 2016 12:48:39 +0000 (UTC) From: "Alexander Sorokin (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10270) camera.getPicture() returns an empty string 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-10270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091853#comment-15091853 ] Alexander Sorokin commented on CB-10270: ---------------------------------------- Just repro'ed it on 4.4.2 device. I'm attaching built mobilespec app. Just go to manual plugin tests, camera tests, then change sourceType to PHOTOLIBRARY and select an image from the gallery. > camera.getPicture() returns an empty string > ------------------------------------------- > > Key: CB-10270 > URL: https://issues.apache.org/jira/browse/CB-10270 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: Android 4.4.2 (api 19) > Reporter: Alexander Sorokin > Labels: android, triaged, wfc > > Code sample to reproduce: > {code} > navigator.camera.getPicture(onSuccess, onFail, { > destinationType: Camera.DestinationType.FILE_URI, > sourceType: Camera.PictureSourceType.PHOTOLIBRARY, > correctOrientation: true > }); > {code} > {{onSuccess}} is called with an empty string as an argument. > if {{correctOrientation}} is {{false}}, everything works as expected. -- 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