cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10883) resolveLocalFileSystemURL cordova.file.externalRootDirectory is fail on android 6.0
Date Mon, 21 Mar 2016 21:14:25 GMT

    [ 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 <bowserj@apache.org>
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


Mime
View raw message