breautek commented on issue #883: URL: https://github.com/apache/cordova-ios/issues/883#issuecomment-689646840
Oracle has released version 3.0.0 of their `cordova-plugin-wkwebview-file-xhr` plugin, which supports cordova-ios@6. If you are not using schemes, then you should this updated version of this plugin. > Hey enabling cors was the only thing u did ? Initially I added cordova-ios6.1.0 then preferences for schema as app & hostname as localhost. Fixed the cors issue from server side , tried cordova run browser --> Got response on browser while on ios device got error : [Error] Origin app://localhost is not allowed by Access-Control-Allow-Origin. [Error] XMLHttpRequest cannot load http://myDomain/API/V1/region due to access control checks. Thanks in advance !! Looks like you're using an external server, my [blog post](https://breautek.com/2020/07/14/enabling-cors/) may help you for this case. If you still have issues, consider asking for support on our [slack](http://slack.cordova.io/) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
