Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.2.0
-
None
-
- Samsung I-9100 Intl (Cyanogenmod 10.2, android 4.3.1)
- Samgsung GT-P5110 (Cyanogenmod 11, android 4.4.2)
Description
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: '+JSON.stringify(error));});
Attachments
Issue Links
- duplicates
-
CB-6428 Unable to read android_asset directory through File API
- Closed