Try this:
cordova plugin add https://github.com/robertklein/cordova-ios-security.git
It will add the following part to the *-Info.plist
file during build process:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key> <true/>
</dict>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…