diff --git a/lib/imgcache.js b/lib/imgcache.js index 3bbe37e..6d032bf 100644 --- a/lib/imgcache.js +++ b/lib/imgcache.js @@ -188,6 +188,8 @@ LOG_LEVEL_ERROR = 3; Helpers.EntryToURL = function (entry) { if (Helpers.isCordovaAndroidOlderThan4() && typeof entry.toNativeURL === 'function') { return entry.toNativeURL(); + } else if (Helpers.isCordovaAndroid()) { // use toURL for newer versions of Cordova Android + return entry.toURL(); } else if (window.WkWebView && typeof window.WkWebView.convertFilePath === 'function') { return window.WkWebView.convertFilePath(entry.toURL()); } else if (