[
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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]