Hi, after framework updating to 3.7 im trying to build ios app, but my http requests stop working. The error is:
Http failure response for (unknown url): 0 Unknown Error
I have no idea what is the reason. Everything worked fine with the previous framework version (on android the app works fine even after framework updating to 3.7)
Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Safari dev tools: https://ionic.zone/debug/remote-debug-your-app#ios Look at the console and network tabs for errors.
Failed to load resource: Request header field Content-Type is not allowed by Access-Control-Allow-Headers
XMLHttpRequest cannot load https://.../. Request header field Content-Type is not allowed by Access-Control-Allow-Headers.
Yep I have removed cordova-plugin-ionic-webview and everything works well. If I would like to use WKWebView I need to implement CORS on the server side (I use angular HTTPClient and don’t want to use @ionic-native/http). Not sure it is possible but will try to send to the backend some tips. Does anyone successfully implemented CORS on nginx?