allow the origin “localhost:8080” in server. That is the host and the port when running on the device.
If you can not change the server, use cordova http plugin. That should bypass CORS.
allow the origin “localhost:8080” in server. That is the host and the port when running on the device.
If you can not change the server, use cordova http plugin. That should bypass CORS.
I had the same problem and I solved by installing the cordova-plugin-whitelist plugin and configure it in the config.xml file
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/
I had same issue and I was using http://url.com then I changed my url to https://url.com and problem solved