You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Håkon Nilsen (JIRA)" <ji...@apache.org> on 2016/08/29 07:52:20 UTC

[jira] [Comment Edited] (CB-7179) [InAppBrowser][iOS 8] Update to support WKWebView

    [ https://issues.apache.org/jira/browse/CB-7179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15445005#comment-15445005 ] 

Håkon Nilsen edited comment on CB-7179 at 8/29/16 7:51 AM:
-----------------------------------------------------------

It has now been a year and a half since this was closed, and I must ask that this needs to be reopened.

When using WKWebView engine in Cordova, the InAppBrowser, based on UIWebView, cannot share the session. This means that the InAppBrowser cannot be used for anything that requires a session, as the InAppBrowser is practically an "incognito" window.

Right now I am forced to continue using UIWebView as my only browser, because the InAppBrowser is UIWebView. What I suggest is making an additional plugin for an InAppBrowser that uses UIWebView if the main webview is based on UIWebView, and uses WKWebView if the main webview is based on WKWebView. That way you can share the session in the InAppBrowser regardless of which engine you use.

Cordova with UIWebView using InAppBrowser with UIWebView --> works
Cordova with WKWebView using InAppBrowser with UIWebView --> doesn't work


was (Author: hnilsen):
I has now been a year and a half since this was closed, and I must ask that this needs to be reopened.

When using WKWebView engine in Cordova, the InAppBrowser, based on UIWebView, cannot share the session. This means that the InAppBrowser cannot be used for anything that requires a session, as the InAppBrowser is practically an "incognito" window.

Right now I am forced to continue using UIWebView as my only browser, because the InAppBrowser is UIWebView. What I suggest is making an additional plugin for an InAppBrowser that uses UIWebView if the main webview is based on UIWebView, and uses WKWebView if the main webview is based on WKWebView. That way you can share the session in the InAppBrowser regardless of which engine you use.

Cordova with UIWebView using InAppBrowser with UIWebView --> works
Cordova with WKWebView using InAppBrowser with UIWebView --> doesn't work

> [InAppBrowser][iOS 8] Update to support WKWebView
> -------------------------------------------------
>
>                 Key: CB-7179
>                 URL: https://issues.apache.org/jira/browse/CB-7179
>             Project: Apache Cordova
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Plugin InAppBrowser
>         Environment: iOS 8
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> support dual use with UIWebView



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org