Project configuration
Salesforce mobile SDK Cordova plugin version: 8.2.0.
Cordova ios: 5.1.1.
Type of application: Local.
After login, I am getting below error.
cross origin requests are only supported for http XMLHttpRequest cannot load file:///private/var/containers/Bundle/Application/.....html due to access control checks
Please help me to resolve the issue.
Aslo I tried cordova-plugin-wkwebview-file-xhr but still, I am getting the error.
As per Cordova-ios 6.0.0 official release note, they mention bellow point
_**Moved WKWebView support into Cordova-iOS and removed UIWebView code Due to this change, the cordova-plugin-wkwebview-engine plugin is obsolete and will not work with this release. If you have this plugin installed, it is safe to remove with Cordova plugin remove cordova-plugin-wkwebview-engine.
Additionaly, WKURLSchemeHandler support has been introduced with this release. **Using a custom scheme to serve your app content through fixes CORS issues that exist because of the strict security policies that WKWebView has applied to the file scheme. You can easily configure your Cordova project to use a custom scheme by setting the preference options scheme and hostname in the config.xml file.****_
So, If this is the solution then please can you provide the new salesforce mobile SDK Cordova plugin which supports Cordova ios 6.0.0.