We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1dbb9 commit 7ff88beCopy full SHA for 7ff88be
src/providers/image-loader.ts
@@ -67,11 +67,11 @@ export class ImageLoader {
67
}
68
69
private get isWKWebView(): boolean {
70
- return this.platform.is('ios') && (<any>window).webkit;
+ return this.platform.is('ios') && (<any>window).webkit && (<any>window).webkit.messageHandlers;
71
72
73
private get isIonicWKWebView(): boolean {
74
- return this.isWKWebView && location.host === 'localhost:8080';
+ return this.isWKWebView && (location.host === 'localhost:8080' || (<any>window).LiveReload);
75
76
77
constructor(
0 commit comments