You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Pete Chapman (JIRA)" <ji...@apache.org> on 2017/09/03 01:25:00 UTC

[jira] [Closed] (CB-13233) Ajax to external URLs does not work in Windows 10 UWP Cordova application

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

Pete Chapman closed CB-13233.
-----------------------------
    Resolution: Not A Bug

Wasn't an issue, it was my testing environment. Ajax calls work fine.

> Ajax to external URLs does not work in Windows 10 UWP Cordova application
> -------------------------------------------------------------------------
>
>                 Key: CB-13233
>                 URL: https://issues.apache.org/jira/browse/CB-13233
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows, Ionic
>    Affects Versions: 7.0.1
>         Environment: Windows 10 desktop and Surface Pro tablet
>            Reporter: Pete Chapman
>            Assignee: Jesse MacFadyen
>
> I have an Ionic 3 application, already deployed and working 100% on Android and iOS platform. I wish to now include it as a Windows 10 UWP, but any ajax calls (https) to any external URLS just do not work. Status returns is always 0, and statusText is empty, Calls to a localhost service (when running on my dev desktop) does work
> I have asked various forums, including [this post|https://stackoverflow.com/questions/45809788/ionic-3-cordova-ajax-calls-fail-on-windows-10-uwp] and have no answers.
> I have the 
> {noformat}
> <allow-navigation href="*" />
>  <access origin="*" />
> {noformat}
> tags set in config.xml
> I also tried a complete new blank Ionic 3 application and also a Cordova application created by Visual Studio (no Ionic framework and just vanilla JavaScript ajax), this these had the same result.
> As explained in in the SO post, the white list plugin located in the `cordova_plugins.js` appears in the module.exports.metadata object but not the module.exports, not sure if this is normal or may be related.
> Being able to call an external REST service URL is pretty fundamental , I have no idea how to further diagnose this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org