cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-6935) [Android][cordova-plugin-file] window.resolveLocalFileSystemURL can't resolve cordova.file.applicationDirectory URL
Date Wed, 08 Oct 2014 22:14:34 GMT


ASF GitHub Bot commented on CB-6935:

GitHub user mnill opened a pull request:

    Implementation of read only access to assets folder

    Hi there,
    I wrote cordova cloud updater for ours apps, and i have a problem like this:
    This is my crazy code solution for read only access to file:///android_asset/ folder.

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #84
commit 5ae17729710624e9388e428bb09a976e385f6ab3
Author: MniLL <>
Date:   2014-10-08T22:05:22Z

    implementation of read only access to assets folder


> [Android][cordova-plugin-file] window.resolveLocalFileSystemURL can't resolve cordova.file.applicationDirectory
> -------------------------------------------------------------------------------------------------------------------
>                 Key: CB-6935
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File
>    Affects Versions: 1.2.0
>         Environment: - Samsung I-9100 Intl (Cyanogenmod 10.2, android 4.3.1)
> - Samgsung GT-P5110 (Cyanogenmod 11, android 4.4.2)
>            Reporter: Mestre Muten
>              Labels: easyfix, patch
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> As of version 1.2.0 of this plugin, some special directory paths were added under cordova.file.*Directory.
> All of them seem to work, but "applicationDirectory" on Android platform doesn't.
> This special directory equals "file:///android_asset/".
> It calls fail callback with error code = 1 (NOT_FOUND_ERR).
> For a simple test just call this on deviceready:
> window.resolveLocalFileSystemURL(cordova.file.applicationDirectory, function(dirEntry){console.log('SUCCESS');},function(error){console.log('ERROR:

This message was sent by Atlassian JIRA

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

View raw message