[Webkit-unassigned] [Bug 200857] REGRESSION (iOS 13): WKWebView does not include cookies/credentials in cross-origin-requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 23 12:49:12 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200857

--- Comment #43 from Niklas Merz <niklasmerz at linux.com> ---
If you use Cordova and the Ionic Webview you can use some workarounds, that are not ideal.

(In reply to fábio_k from comment #42)
> https://github.com/GEDYSIntraWare/cordova-plugin-webview-switch
> WebviewSwitch.setHostname('_your_server_ip')

This makes your request not cross-origin and solves this issue. But you don't need that plugin if you can set your servers hostname at buildtime: https://github.com/ionic-team/cordova-plugin-ionic-webview#hostname

Another workaround is to make your HTTP request through native layers instead of using fetch and XHR.

Plugin for native HTTP
https://www.npmjs.com/package/cordova-plugin-advanced-http

There is an attempt for Ionic Webview to use schemehandlers for native requests, which you could try.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191023/5d58afa5/attachment.html>


More information about the webkit-unassigned mailing list