Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 21451200B72 for ; Thu, 11 Aug 2016 15:31:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 20381160A90; Thu, 11 Aug 2016 13:31:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C1AF3160A94 for ; Thu, 11 Aug 2016 15:31:21 +0200 (CEST) Received: (qmail 79526 invoked by uid 500); 11 Aug 2016 13:31:20 -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 79408 invoked by uid 99); 11 Aug 2016 13:31:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2016 13:31:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A60932C02AE for ; Thu, 11 Aug 2016 13:31:20 +0000 (UTC) Date: Thu, 11 Aug 2016 13:31:20 +0000 (UTC) From: "Vladimir Kotikov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-11492) window.resolveLocalFileSystemURL is not resolving content:// path to a file:// path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 Aug 2016 13:31:23 -0000 [ https://issues.apache.org/jira/browse/CB-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Kotikov closed CB-11492. --------------------------------- > window.resolveLocalFileSystemURL is not resolving content:// path to a file:// path > ----------------------------------------------------------------------------------- > > Key: CB-11492 > URL: https://issues.apache.org/jira/browse/CB-11492 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Affects Versions: 4.2.0 > Reporter: Josh Sharpe > Assignee: Sergey Shakhnazarov > Labels: android, cannot-reproduce, triaged, wfc > > It's my understanding that the file plugin (resolveLocalFileSystemURL) should handle this, however I had to use the file-path plugin (resolveNativePath) > var path = "content://com.android.providers.media.documents/document/image:1051"; > window.resolveLocalFileSystemURL(path, function(a){ > console.log(a) > }) > -> undefined > window.FilePath.resolveNativePath(path, function(localFileUri) { > console.log(localFileUri) > }); > -> "file:///storage/emulated/0/DCIM/Camera/IMG_20160625_104045.jpg" -- 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