Closed vsvikram closed 5 years ago
@vsvikram By default he plugin will only intercept secure requests. Please review the configuration section of the readme.
InterceptRemoteRequests: all|secureOnly|none (default: secureOnly)
If you want the plugin to intercept unsecure requests, you need to add the following preference to your config.xml
<preference name="InterceptRemoteRequests" value="all"/>
Thanks @gvanmat . I missed that and assumed the URL endpoint we are using is secure https.
Description: I'm making requests to an API endpoint from Cordova iOS app using $http.get() method which results in the CORS restriction errors. ERROR:
xmlhttprequest cannot load Preflight response is not successful
Observations:How can I overcome this issue or is there a workaround for this in WKWebView apps? Please let me know if more details are required.