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 09FE219304 for ; Mon, 21 Mar 2016 21:14:26 +0000 (UTC) Received: (qmail 69903 invoked by uid 500); 21 Mar 2016 21:14:25 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 69873 invoked by uid 500); 21 Mar 2016 21:14:25 -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 69845 invoked by uid 99); 21 Mar 2016 21:14:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2016 21:14:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 946CB2C1F6B for ; Mon, 21 Mar 2016 21:14:25 +0000 (UTC) Date: Mon, 21 Mar 2016 21:14:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10883) resolveLocalFileSystemURL cordova.file.externalRootDirectory is fail on android 6.0 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-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205158#comment-15205158 ] ASF GitHub Bot commented on CB-10883: ------------------------------------- GitHub user infil00p opened a pull request: https://github.com/apache/cordova-plugin-file/pull/173 CB-10883: Added getPermissionEntries for Directory Entries, which is affected by Marshmallow Permissions Waited for the other two pull requests that change permissions before adding another callback. Entries doesn't quite fit in where file and directory enters. :/ You can merge this pull request into a Git repository by running: $ git pull https://github.com/infil00p/cordova-plugin-file cb10883 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-file/pull/173.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #173 ---- commit 07c4a94f545e6269d58bc750bd5ead5382008695 Author: Joe Bowser Date: 2016-03-21T21:01:27Z CB-10883: Fixing directory entries permission bug ---- > resolveLocalFileSystemURL cordova.file.externalRootDirectory is fail on android 6.0 > ----------------------------------------------------------------------------------- > > Key: CB-10883 > URL: https://issues.apache.org/jira/browse/CB-10883 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Environment: cordova 6.0 > cordova-plugin-file 4.1.2-dev > device android 6.0 > Reporter: junyuz > Labels: Android, patch > Original Estimate: 12h > Remaining Estimate: 12h > > window.resolveLocalFileSystemURL(cordova.file.externalRootDirectory, function(dirEntry) { > var directoryReader = dirEntry.createReader(); > directoryReader.readEntries(function(entries) {} > } > on android6.0 entries.length==0 > but on android4.x 5.x is run good -- 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