cyclonmaster opened a new issue #60: URL: https://github.com/apache/cordova-plugin-whitelist/issues/60
# Bug Report Network Request Whitelist to aloow any requests did not work ## Problem error: Access to XMLHttpRequest at 'https://xxx' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. ### What is expected to happen? It suppose to allowed ajax request to https://xxx ### What does actually happen? ajax request to https://xxx was blocked by cors policy ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> Device: Redmi Note 9S, Android 10 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova Android platform version 9.1.0 cordova-plugin-whitelist Version 1.3.4 Webview Version 90.0.4430.91 config.xml <access origin="*" /> ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ x] I searched for existing GitHub issues - [ x] I updated all Cordova tooling to most recent version - [ x] I included all the necessary information above -- 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]
