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?

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?