cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11705) [iOS-Cordova] Add configuration to override default WebViewEngine
Date Wed, 17 Aug 2016 08:19:20 GMT


ASF GitHub Bot commented on CB-11705:

Github user hnilsen commented on the issue:
    That doesn't swap out the private CDVUIWebViewEngine used by iOS8, does it? That's why
I'm adding the option to extract and use my own version of CDVUIWebViewEngine. This is what
I'm able to do now:
    <preference name="CordovaDefaultWebViewEngine" value="CDVSpvUIWebViewEngine" />
    <preference name="CordovaWebViewEngine" value="CDVSpvWKWebViewEngine" />
        <feature name="CDVSpvUIWebViewEngine">
            <param name="ios-package" value="CDVSpvUIWebViewEngine" />
        <feature name="CDVSpvWKWebViewEngine">
            <param name="ios-package" value="CDVSpvWKWebViewEngine" />
    This enables me to create my own UIWebView plugin for iOS8.

> [iOS-Cordova] Add configuration to override default WebViewEngine
> -----------------------------------------------------------------
>                 Key: CB-11705
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: Master
>            Reporter: HÃ¥kon Nilsen
>              Labels: easyfix
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> The introduction of WKWebView from iOS9 separed the WebView-interface to enable WKWebView
and UIWebView. UIWebView is the default for all of Cordova unless WKWebView is specified,
and always default for iOS 8.
> I think it is appropritate to be able to change the default UIWebView to whatever you'd
want (i.e. WKWebView for iOS8 as well, or a different UIWebView plugin). 
> I will supply a pull request.

This message was sent by Atlassian JIRA

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

View raw message