【发布时间】:2016-08-24 11:00:01
【问题描述】:
我使用带有 express 后端的节点构建 Ionic 应用程序,通过此服务,我可以使用 AngularJS http 提供程序获取一些 json 数据。 我可以使用浏览器显示 json 数据。 但是当我构建我的应用程序然后安装在我的 android 设备上时,什么都没有显示。
【问题讨论】:
标签: node.js web-services rest express ionic-framework
我使用带有 express 后端的节点构建 Ionic 应用程序,通过此服务,我可以使用 AngularJS http 提供程序获取一些 json 数据。 我可以使用浏览器显示 json 数据。 但是当我构建我的应用程序然后安装在我的 android 设备上时,什么都没有显示。
【问题讨论】:
标签: node.js web-services rest express ionic-framework
这可能与安全有关。您可能需要安装 cordova-plugin-whitelist 并进行适当的配置 - 请参阅 https://cordova.apache.org/docs/en/latest/guide/appdev/whitelist/index.html
如果不是这种情况,请提供有关您在控制台中看到的错误的更多详细信息
【讨论】: