我试图用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
总是在模拟器和电话中出现网络错误。