You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jim Trainor (JIRA)" <ji...@apache.org> on 2016/05/19 15:50:12 UTC

[jira] [Commented] (CB-11045) Use the custom CDVWebViewEngine and add automatic cookies sharing

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

Jim Trainor commented on CB-11045:
----------------------------------

+1 for this.  I've just been through this issue.  I have to remain in the applications WkWebView in order to complete the login because of cookie sharing problems.  In Android I can pop out to the InAppBrowser. That is much better because it avoids a reload of my application when I return from the login.  

> Use the custom CDVWebViewEngine and add automatic cookies sharing
> -----------------------------------------------------------------
>
>                 Key: CB-11045
>                 URL: https://issues.apache.org/jira/browse/CB-11045
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: Plugin InAppBrowser
>         Environment: iOS, Android
>            Reporter: Masmejean Jonathan
>            Priority: Critical
>              Labels: CDVWebViewEngine, android, cookies, inappbrowser, ios
>
> Hello,
> With the new version of cordova-lib (>=5.4.x), cordova-ios (>=4.x) and cordova-android (>=5.2.x) you have the ability to choose a WebView engine for your app. 
> On iOS, you have the ability to use the new WKWebView engine and for Android you can use for example the CrossWalk WebView which use the latest chromium WebView for android.
> At the moment, with InAppBrowser plugin you are using the default/old/basic WebView system (UIWebView or Chromium 4.4 WebView). So, for every users that need/want to use the new WebView system for their app encounters a lot of issues, especially with cookies sharing functionality... Which is really sad when you are using an external Authentication system (like Keycloack) to log you users in or out, and when you are using secured iFrames that need cookies to bet set on your app.
> It could be great to make the InAppBrowser plugin use the CDVWebViewEngine everywhere and had automatic cookies sharing between the app and the popup (and vice versa). 
> That should avoid the merge and fix the https://github.com/apache/cordova-plugin-inappbrowser/pull/122 issue.
> Have you planned to use this new engine already ? If it is the case, when do you think it will be released ?
> Thank you for you time.
> Regards.



--
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