cordova-plugin-ionic-webview icon indicating copy to clipboard operation
cordova-plugin-ionic-webview copied to clipboard

iframe gap:// appeared

Open hirbod opened this issue 6 years ago • 4 comments

Hi,

I've removed and installed this plugin (in order to get the new version) but suddenly the old nasty iframe gap:// appeared and is throwing an error inside the console (unsupported gap://ready)

I verified that Ionic Webview did load (I also see the "XHR INTERCEPT INJECTED" message) and window.webkit.messageHandlersis there.

How to get rid of this @mlynch ? Is this a bug?

hirbod avatar Apr 29 '18 22:04 hirbod

So, one month left, I will try it again. Any help how to prevent iframe gap:// being created? This should not happen when using WKWebview

hirbod avatar Jun 03 '18 16:06 hirbod

@Hirbod If I'm understanding correctly, this may be related to your Content-Security-Policy. See this issue: https://github.com/ionic-team/ionic/issues/6928

imhoffd avatar Jun 08 '18 21:06 imhoffd

No, I do not have any "white screen" issues. Normally, gap:// ready was a hacky workaround on UiWebView. It should not be created as I am using WKWebview

hirbod avatar Jun 08 '18 21:06 hirbod

Anything new here? I have the same problem after updating to wkwebview...

michitosh avatar Feb 03 '20 20:02 michitosh