GitHub user gslin added a comment to the discussion: Is there any way to bypass 
CORS requirement with native `fetch()`, on Android platform?

Thanks for the clarification.  If there is no way to bypass `fetch()`'s CORS 
requirement, what's the purpose of `<access origin="..." />`, mentioned in 
https://cordova.apache.org/docs/en/12.x/guide/appdev/allowlist/index.html ?

> This controls which network requests (images, XHRs, etc) are allowed to be 
> made to specific domains (via cordova native hooks).

My understanding of `XHRs` here is `XMLHttpRequest`, which is not working on 
cross-site requests either.

GitHub link: 
https://github.com/apache/cordova/discussions/504#discussioncomment-11093010

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to