diff --git a/framework/src/com/phonegap/FileUtils.java b/framework/src/com/phonegap/FileUtils.java old mode 100644 new mode 100755 index 1e538080..598c23e9 --- a/framework/src/com/phonegap/FileUtils.java +++ b/framework/src/com/phonegap/FileUtils.java @@ -149,10 +149,13 @@ public class FileUtils implements Plugin { * @return T=returns value */ public boolean isSynch(String action) { - if (action.equals("read")) { + if (action.equals("readAsText")) { return false; } - else if (action.equals("write")) { + else if (action.equals("readAsDataURL")) { + return false; + } + else if (action.equals("writeAsText")) { return false; } return true;