Ajax Command to request URL no longer working

前端 未结 2 953
有刺的猬
有刺的猬 2020-12-09 16:09

I just updated my cordova version. When I run

cordova -v

It outputs version 5.0.0

On the older version of Cordova I had (I actuall

相关标签:
2条回答
  • 2020-12-09 16:54

    Just remove the content of the meta tag in the index page <meta http-equiv="Content-Security-Policy">

    0 讨论(0)
  • 2020-12-09 17:03

    Turns out I was just missing the following plugin:

    cordova-plugin-whitelist

    After I installed it, rm the android platform, re-added the android platform, build and run, it worked!

    0 讨论(0)
提交回复
热议问题