Skip to content

Commit 02c18ea

Browse files
authored
feat(ios): remove wkRewriteURL function (#577)
BREAKING CHANGE: wkRewriteURL was deprecated and has been removed, use window.Ionic.WebView.convertFileSrc instead
1 parent d5bdbaa commit 02c18ea

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ios/wk-plugin.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
// Initialize Ionic
99
window.Ionic = window.Ionic || {};
1010

11-
if (typeof window.wkRewriteURL === 'undefined') {
12-
window.wkRewriteURL = function (url) {
13-
console.warn('wkRewriteURL is deprecated, use window.Ionic.WebView.convertFileSrc instead');
14-
return window.Ionic.WebView.convertFileSrc(url);
15-
}
16-
}
17-
1811
var stopScrollHandler = window.webkit.messageHandlers.stopScroll;
1912
if (!stopScrollHandler) {
2013
console.error('Can not find stopScroll handler');

0 commit comments

Comments
 (0)