![](/img/trans.png)
[英]Phonegap android app using durandal : page with ajax call not opening
[英]Phonegap Web Server Configuration - Durandal App
我找不到有关移动设备上正在运行哪种类型的内部服务器PhoneGap的任何文档,无论它是Apache,IIS还是其他小型Web服务器。 我想知道它是什么类型的服务器,以及是否可以将其配置为允许与服务器进行外部通信,这拒绝了传入请求,因为它没有添加CORS支持。
我们有3个选择
1) Add CORS support to allow AJAX from PhoneGap device to the web servers
2) Configure the PhoneGap web server to act as a proxy
3) Add a plugin, or write a plugin, which allows a native Android function call to allow communication to the web server
如果您有任何这些经验或关于如何走的建议,将非常感谢您的帮助。 提前致谢!
没有内部服务器。 PhoneGap / Cordova使用默认视图作为Web视图创建基本的本机应用程序。 Web视图是Web浏览器窗口的空白版本。 PhoneGap没有Web服务器组件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.