Or you could use a plugin for this:
https://github.com/leecrossley/cordova-plugin-transport-security
↧
Config.xml preference - NSAppTransportSecurity
↧
Or you could use a plugin for this:
https://github.com/leecrossley/cordova-plugin-transport-security