Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12297

Support WKProcessPool for cookie sharing

    XMLWordPrintableJSON

Details

    Description

      WKWebView provided by the plugin does not use any WKProcessPool. Using WKProcessPool will help in sharing cookies across WKWebView instances. If the cordova app has a usecase where it creates its own WKWebView instance, for instance, a remote login screen, then it is better that the new WKWebView instance uses the same WKProcessPool.

      In order to make this happen, I propose creating a WKProcessPool factory in this plugin and publish that, so that the cordova app can use it for their WKWebView instances.

      I have a working model in my git branch:
      https://github.com/anandvnath/cordova-plugin-wkwebview-engine

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              anand.v.nath@oracle.com Anand V Nath
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified