update cordova file plugin dependency to new cordova-plugin-file name/version

This commit is contained in:
Denis Babineau
2015-07-15 15:21:39 -03:00
parent 6ea22f99e8
commit 20f39b32f1
3 changed files with 5 additions and 3 deletions
@@ -45,7 +45,7 @@ public class CordovaHttpDownload extends CordovaHttp implements Runnable {
URI uri = new URI(filePath);
File file = new File(uri);
request.receive(file);
JSONObject fileEntry = FileUtils.getEntry(file);
JSONObject fileEntry = FileUtils.getFilePlugin().getEntryForFile(file);
response.put("file", fileEntry);
this.getCallbackContext().success(response);
} else {