I have a Cordova app (built with PGB) where external link stopped working on iOS. The links work fine on Android and as a WebApp, just not iOS. I tried both UIWebView and WkWebView. This used to work fine on all platforms. I'm not sure when it broke (Cordova 6 or iOS 11). I use the whitelist plugin with:
<access origin="*"/>
<allow-navigation href="*" />
<allow-intent href="*" />
The CORS header is:
<meta http-equiv="Content-Security-Policy"
content="default-src 'self' gap://ready file://* *;
style-src * 'self' 'unsafe-inline' 'unsafe-eval';
script-src * 'self' 'unsafe-inline' 'unsafe-eval';"
>
The links are all external. I don't need or want them in the app WebView. I'd prefer a separate instance of Safari. Do I need to use the inappbrowser plugin anyway?
Aucun commentaire:
Enregistrer un commentaire