i am using the open weather map api webservice to make an ajax call inorder to get the current weather using the latitude and longitude the problem is the same call works in
For future searches
yourprojectpath/config.xml
Add or check the following lines
It may also be required to install "cordova-plugin-whitelist" plugin:
Cordova
cordova plugin add cordova-plugin-whitelist
cordova prepare
Phonegap
phonegap plugin add cordova-plugin-whitelist
phonegap prepare
Also make sure to add the necessary Content-Security-Policy in your file.html:
https://github.com/apache/cordova-plugin-whitelist#content-security-policy