cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shazron <>
Subject [GitHub] cordova-plugin-wkwebview-engine issue #20: Fix handling of tel and mailto sc...
Date Thu, 23 Feb 2017 01:29:26 GMT
Github user shazron commented on the issue:
    Ok, for location.href (say in a button tag onclick handler), it's definitely a bug when
using wkwebview-engine (UIWebView is fine). For the CDVIntentAndNavigationFilter, we are passing
back the navigationType, which is of type [WKNavigationType](
It looks like the enumeration is the same as [UIWebViewNavigationType](
(which the filter uses for its logic), but not quite. 
    All enum integral values are the same for the two enumerations, except for [WKNavigationTypeOther](
which is set to -1 explicitly, while [UIWebViewNavigationTypeOther](
is 5.
    I'll file an issue to fix this by coercing the value explicitly to UIWebViewNavigationTypeOther
when a WKNavigationTypeOther is encountered, before passing it off to the filter.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message