You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Schmidt (JIRA)" <ji...@apache.org> on 2014/01/16 10:37:19 UTC

[jira] [Closed] (CB-5789) WP8 Beta-Released Version throws HTTP-Code 0 on every AJAX-Call

     [ https://issues.apache.org/jira/browse/CB-5789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Schmidt closed CB-5789.
---------------------------------

    Resolution: Not A Problem

You have to add ID_CAP_NETWORKING function in 'WMAppManifest.xml' to allow AJAX communication with external services.

> WP8 Beta-Released Version throws HTTP-Code 0 on every AJAX-Call
> ---------------------------------------------------------------
>
>                 Key: CB-5789
>                 URL: https://issues.apache.org/jira/browse/CB-5789
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.1.0, 3.2.0
>         Environment: HTC Windows Phone 8S
>            Reporter: Alexander Schmidt
>            Assignee: Jesse MacFadyen
>              Labels: CORS, WP8
>
> We created a Cordova Project to deploy a mobile application for Android, iOS, Blackberry and WP8. On WP8 we encountered an issue concerning AJAX-Calls to our WebServer.
> We have a plain login screen with user authentication via AJAX-Post request to an external WebServer. When testing the App by direct deployment (e.g. starting from Visual Studio) everything works okay. Deploying the App to the Windows Store in Beta Test results in a HTTP-Response-Code 0 (which as I understand represents a local block like airplane mode)
> We already checked the Windows Store FAQ and the deployment requirements and can't find any issue there.
> We also searched for other occurences of our issue and found this [Link to Stackoverflow|http://stackoverflow.com/questions/19377223/ajax-request-windows-phone-8/21110516#21110516] which is unanswered for 3 months now.
> Naturally we also checked here for similar issues but did not find any fitting scenario.
> We're unsure whether it is a real bug or if we just overlooked some configurations. 
> Is there anything known which can cause this? 
> Could this issue be related to the access origin implementation of cordova?(We configured access-origin *)
> If any more information is required we're happy to provide it.
> We tagged this issue as Major since we can't deploy to WP8 at all.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)