cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mnill <>
Subject [GitHub] cordova-plugin-file pull request: Implementation of read only acce...
Date Wed, 18 Mar 2015 07:45:29 GMT
Github user mnill commented on the pull request:
    Looks nice, but failed on some my tests.
    Doesn't works get directory entry. Sample:
        document.addEventListener('deviceready', function() {load();}, false);
        function load() {
                window.resolveLocalFileSystemURI(cordova.file.applicationDirectory, function(applicationEntry){
                    applicationEntry.getDirectory('www', {create:false}, function(wwwEntry)
                        alert('success to get application www Directory');
                    }, function(err) {
                        alert('fail get application www Directory' + err.code);
                }, function(err){
                    alert('fail get applicationDirectory' + err.code);
    resolveLocalFileSystemURI - > cordova.file.applicationDirectory works well, but getDirectory
'www' failed. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message