cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mestre Muten (JIRA)" <>
Subject [jira] [Commented] (CB-6935) [Android][cordova-plugin-file] window.resolveLocalFileSystemURL can't resolve cordova.file.applicationDirectory URL
Date Fri, 13 Jun 2014 18:03:03 GMT


Mestre Muten commented on CB-6935:

Indeed it's very good concept, especially when you have to do small/medium changes to an App
that do not require new APK/IPA (new cordova version, new features, ...).

But I think my work it's too much specific for our needs (I've done it at my job), and, you
know, companies... "always" wanting the work done for yesterday, and that means the quality
of code is far from acceptable.

Anyway, if I ever do it well, in a general point of view, I'll submit it as plugin, sure.

> [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

View raw message