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 08F0A10E2C for ; Fri, 7 Mar 2014 23:17:57 +0000 (UTC) Received: (qmail 92947 invoked by uid 500); 7 Mar 2014 23:17:56 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 92845 invoked by uid 500); 7 Mar 2014 23:17:55 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 92819 invoked by uid 99); 7 Mar 2014 23:17:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 23:17:55 +0000 Date: Fri, 7 Mar 2014 23:17:54 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-6167) Camera API saveToPhotoAlbum option on ios returns temp file URI 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-6167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-6167: --------------------------------- Component/s: (was: CordovaJS) Plugin Camera > Camera API saveToPhotoAlbum option on ios returns temp file URI > --------------------------------------------------------------- > > Key: CB-6167 > URL: https://issues.apache.org/jira/browse/CB-6167 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera > Affects Versions: 3.3.0 > Environment: IOS > Reporter: sandeep paliwal > Priority: Minor > > On ios when using camera getPicture with saveToPhotoAlbum option and destinationType as FileURI, although the captured image is saved to photo album but the returned file URI point to the temp file. It should actually return the URI of image in photo album. Sample code here.. > function onSuccess(imageData) { > alert(JSON.stringify(imageData)); > } > > function onFail(message) { > alert('Failed because: ' + message); > } > > navigator.camera.getPicture(onSuccess, onFail, { quality: 20, > destinationType: Camera.DestinationType.FILE_URI,saveToPhotoAlbum: true > }); -- This message was sent by Atlassian JIRA (v6.2#6252)