chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

IOS: Could not create path to save downloaded file #123

Closed Yuripetusko closed 9 years ago

Yuripetusko commented 9 years ago

Sorry if this is duplicate. ImgCache works fine on Android, but on ios I get this:

2015-05-27 16:02:20.024 QLifestyle[342:60090] FileTransferError {

    body = "Could not create path to save downloaded file: The operation couldn\U2019t be completed. (Cocoa error 513.)";

    code = 1;

    "http_status" = 200;

    source = "http://lorempixel.com/482/320/cats/6";

    target = "cdvfile://localhost/root/imgcache/abaad3ff068aad2df24cfb5fe5316d1f57801636.6";

}
Yuripetusko commented 9 years ago

This is ImgCache version: '0.7.5'

Yuripetusko commented 9 years ago

Installed platforms: android 3.7.1, ios 3.8.0

And latest version installed from github repository of FileTransfer plugin https://github.com/apache/cordova-plugin-file-transfer

Yuripetusko commented 9 years ago

I think this is duplicate of https://github.com/chrisben/imgcache.js/issues/116

Yuripetusko commented 9 years ago

I can confirm that if I tell bower to use 1.0 rc then the problem is gone