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 3497118FED for ; Fri, 14 Aug 2015 17:50:46 +0000 (UTC) Received: (qmail 55495 invoked by uid 500); 14 Aug 2015 17:50:46 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 55488 invoked by uid 500); 14 Aug 2015 17:50:46 -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 55477 invoked by uid 99); 14 Aug 2015 17:50:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2015 17:50:45 +0000 Date: Fri, 14 Aug 2015 17:50:45 +0000 (UTC) From: "Cody Balos (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-9490) LG G4 camera application saves photos when using destinationType DATA_URL 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-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14697431#comment-14697431 ] Cody Balos edited comment on CB-9490 at 8/14/15 5:50 PM: --------------------------------------------------------- Seems that the issue is that most camera applications discard the first photo when retake is selected. The LG camera application does not. Thus when checkForDuplicateImage runs, the currentNumOfImages is N+ 1, where N is how many retakes the user did, more than numPics, rather than 1. Therefore, the images are never deleted. I am looking into the best way to fix this. was (Author: cojomojo): Seems that the issue is that most camera applications discard the first photo when retake is selected. The LG camera application does not. Thus when checkForDuplicateImage runs, the currentNumOfImages is 2 more than numPics, rather than 1. Therefore, the images are never deleted. I am looking into the best way to fix this. > LG G4 camera application saves photos when using destinationType DATA_URL > ------------------------------------------------------------------------- > > Key: CB-9490 > URL: https://issues.apache.org/jira/browse/CB-9490 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Environment: LG G4, Android 5.1, Cordova 5.1.1, Cordova Plugin Camera 1.2.0. > Reporter: Cody Balos > > So far this issue only happens on an LG G4 using the stock camera application: > Using the camera plugin, with destinationType set to DATA_URL, > the expected functionality is for the base64 string to be returned to the javascript interface, and not saved to the file system without explicitly saving it separately. Using the LG G4 stock camera application, all photos are saved even when using destinationType DATA_URL if the retake option is used. > The issue does not occur when using the Google Camera application or Camera 360 (both on the Play Store). -- 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