Cordova iOS WKWebview + Sentry doesn't send requests (CORS)

Cordova app on WKWebView, Sentry requests are now failing due to error:

XMLHttpRequest cannot load https://sentry.io/api/$ID/store/?sentry_version=7&sentry_client=raven-js%2F3.8.0&sentry_key=$MY_KEY. Origin null is not allowed by Access-Control-Allow-Origin.

Works ok on UIWebview, but I think Wkwebview works slightly differently w.r.t to CORS etc.

Possibly related ? https://github.com/Telerik-Verified-Plugins/WKWebView/issues/87

Any ideas?!

1 Like

Iā€™m also having this issue!

Any Solution on this?