Skip to content

cordova ios 6.1.0 wkwebview all xhr POST requests failing and are converting as blob request. #11

Description

@knkavya

Hi,

I have migrated the Cordova app from UIWebview to WKWebview.I have a native scanner screen that is invoked from the webpage and to invoke this I am using the "cordova-plugin-cors".
Which is working fine by launching a scanner. But on the same page, the other ajax post calls are getting failed and they are converted as blob requests, along with that it gives certificate trust error logs.

I tried removing the "cordova-plugin-cors" plugin post that all the post ajax call works perfectly. But Scanner will not be invoked without xhr plugin.

All the calls are getting invoked using the xhr.js file where the post calls are failing.
Can someone please help me to fix this issue?

XHR plugin issue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions