Skip to content

Commit d5bdbaa

Browse files
authored
feat(ios): remove normalizeURL function (#576)
BREAKING CHANGE: normalizeURL was deprecated and has been removed, use window.Ionic.WebView.convertFileSrc instead
1 parent 17d2ada commit d5bdbaa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ios/wk-plugin.js

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

11-
function normalizeURL(url) {
12-
console.warn('normalizeURL is deprecated, use window.Ionic.WebView.convertFileSrc');
13-
return window.Ionic.WebView.convertFileSrc(url);
14-
}
1511
if (typeof window.wkRewriteURL === 'undefined') {
1612
window.wkRewriteURL = function (url) {
1713
console.warn('wkRewriteURL is deprecated, use window.Ionic.WebView.convertFileSrc instead');
1814
return window.Ionic.WebView.convertFileSrc(url);
1915
}
2016
}
21-
window.Ionic.normalizeURL = normalizeURL;
2217

2318
var stopScrollHandler = window.webkit.messageHandlers.stopScroll;
2419
if (!stopScrollHandler) {

0 commit comments

Comments
 (0)