Hi
This is related to Cordova 6.2.0 which is using the scheme handler mechanism to intercept all calls and and to mitigate another issue https://bugs.webkit.org/show_bug.cgi?id=213510 in WkWebView.
We are trying to overcome the above limitation by using a web client proxy and everything is proxied ok (including cookies are stored and transmitted correctly) except a specific case (https://github.com/apache/cordova-ios/issues/1074).
If from Javascript we are doing a POST(via fetch) with FormData (which normally works) with attached files, in the overrideSchemeTask urlSchemeTask.request.HTTPBody is nil and nothing is transmitted to the server.
Again, if we are posting FormData with plain text values, or if we post a json the HTTPBody is correctly transmitted.
Please advise because this is a showstopper since we are trying to overcome one limitation and ran into another.
iOS 14.4
XCode 12.3
macOS BigSur 11.0.1
Cordova 6.2.0
This is related to Cordova 6.2.0 which is using the scheme handler mechanism to intercept all calls and and to mitigate another issue https://bugs.webkit.org/show_bug.cgi?id=213510 in WkWebView.
We are trying to overcome the above limitation by using a web client proxy and everything is proxied ok (including cookies are stored and transmitted correctly) except a specific case (https://github.com/apache/cordova-ios/issues/1074).
If from Javascript we are doing a POST(via fetch) with FormData (which normally works) with attached files, in the overrideSchemeTask urlSchemeTask.request.HTTPBody is nil and nothing is transmitted to the server.
Again, if we are posting FormData with plain text values, or if we post a json the HTTPBody is correctly transmitted.
Please advise because this is a showstopper since we are trying to overcome one limitation and ran into another.
iOS 14.4
XCode 12.3
macOS BigSur 11.0.1
Cordova 6.2.0