在Cordova中通过Axois发送发布请求时出现网络错误

时间:2019-06-13 12:31:10

标签: android cordova axios cordova-plugins content-security-policy

我试图用cordova制作android应用程序,当我从远程服务器请求数据时构建应用程序后,出现网络错误。我添加了cordova-plugin-whitelist却有问题。

我将<plugin name="cordova-plugin-whitelist" spec="^1.3.3" version="1.3.3" /><access origin="*" />添加到我的config.xml中

我的代码在我的GitHub存储库中:https://github.com/alighasemzadeh/srssms-mobile

总是在模拟器和电话中出现网络错误。

0 个答案:

没有答案