Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/imgcache.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down