AJAX Call not working in Phonegap but working normally

前端 未结 4 2095
时光取名叫无心
时光取名叫无心 2021-01-14 10:21

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

4条回答
  •  走了就别回头了
    2021-01-14 10:52

    it's a problem of white-list https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/ Install it and go to config.xml to allow

提交回复
热议问题