I can't open links externally on system browser.
Cordova version 9.0.0 (cordova-lib@9.0.1)
Active plugins:
"cordova-ios": "^5.1.1",
"cordova-plugin-keyboard": "1.2.0",
"cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-wkwebview-engine": "^1.2.1"
My noteworthy lines on config.xml
<access origin="*" />
<allow-navigation href="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
<preference name="KeyboardDisplayRequiresUserAction" value="false" />
<preference name="BackupWebStorage" value="local"/>
I've tried with:
window.open(url, "_self")
window.open(url, "_blank")
window.open(url, "_system")
But the only function that works and returns something in console is the one with "_self" arg. I've tried with HTML tag:
<a href="http://url" target="_system">foo</a>
But it doesn't work as well.
Trying to find out the source of the problem, it's seems to me there is somewhere a bug on the implementation of the wkwebview plugin on the ios's WebKit WebView, maybe related with the recent changes apported by Apple to avoid the deploying of UIWebView-based apps and ios sdk <13 on the App Store