Cordova doesn't send origin on request in some Android devices
问题 This is a problem that happens on some android devices. I have a Samsung Galaxy A5 (2017) with Google Chrome version 76.0.3809.89 and Android version 8.0.0. When I deploy my Cordova application for the first time on this device and making a POST request I receive an error about CORS: Access to XMLHttpRequest at 'http://foo.com/bar' from origin 'file://' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is