scottwalstead
scottwalstead

Reputation: 93

Phonegap Web Server Configuration - Durandal App

I can't find any documentation on what type of internal server PhoneGap is running on mobile devices, whether it's Apache, IIS, or some other minified web server. I'd like to know what type of server it is and whether it can be configured to allow external communication to a server, which is rejecting the incoming requests because it doesn't have the CORS support added to it.

We have 3 options

 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

If you have any experience with these or advice on which way to go, your help would be much appreciated. Thanks in advance!

Upvotes: 0

Views: 289

Answers (1)

Dawson Loudon
Dawson Loudon

Reputation: 6029

There is no internal server. PhoneGap/Cordova creates a base native application with the default view as a webview. A webview is a blank version of a web browser window. There is no web server component to PhoneGap.

Upvotes: 1

Related Questions