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

Aras updated CB-5456:
---------------------

    Description: 
*Edit*
Sorry for the incorrect bug report. After doing some primitive debugging with 
`alert`, we found the issue was with IE on the phone. Cross domain access in 
fact works on WP8 builds.


Long story short:
Can someone please test crossdomain access with WP8 build and let me know if it 
is supposed to work.

Long story:
I tried building an app on phonegap build in the cloud for windows. The build 
works for iOS and Android. The app makes many cross domain requests, so I have 
this in my config.xml:

<code><access origin="*" /></code>

I gave the xap to client and they were able to install it but not able to 
login. I do not have access to a windows phone, so a lot of this is 
speculations. Please help me figure out if this is an issue with Cordova or not.

Based on the fact that we do not see any record on our server, I think that the 
app was never granted cross domain access.

I am not sure what that cross domain access should be. However, when I open the 
app.xap package I downloaded from phonegap build server and open the 
AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property 
at all.

Note: this is my first bug report here, so Hi!

  was:
Long story short:
Can someone please test crossdomain access with WP8 build and let me know if it 
is supposed to work.

Long story:
I tried building an app on phonegap build in the cloud for windows. The build 
works for iOS and Android. The app makes many cross domain requests, so I have 
this in my config.xml:

<code><access origin="*" /></code>

I gave the xap to client and they were able to install it but not able to 
login. I do not have access to a windows phone, so a lot of this is 
speculations. Please help me figure out if this is an issue with Cordova or not.

Based on the fact that we do not see any record on our server, I think that the 
app was never granted cross domain access. I *think* the windows apps are fed 
to a monster called silver something and it seems to require a lot of BS. It 
looks like the silver monster needs something like this inside the 
AppManifest.xaml:

<code><Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"; 
ExternalCallersFromCrossDomain="CrossDomainAccess" .../></code>

I am not sure what that cross domain access should be. However, when I open the 
app.xap package I downloaded from phonegap build server and open the 
AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain property 
at all.

Note: this is my first bug report here, so Hi!


> Cross domain policy does not seem to transfer down to WP8
> ---------------------------------------------------------
>
>                 Key: CB-5456
>                 URL: https://issues.apache.org/jira/browse/CB-5456
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows 8
>    Affects Versions: 3.1.0
>         Environment: I used phonegap cloud build
>            Reporter: Aras
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>              Labels: newbie
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> *Edit*
> Sorry for the incorrect bug report. After doing some primitive debugging with 
> `alert`, we found the issue was with IE on the phone. Cross domain access in 
> fact works on WP8 builds.
> Long story short:
> Can someone please test crossdomain access with WP8 build and let me know if 
> it is supposed to work.
> Long story:
> I tried building an app on phonegap build in the cloud for windows. The build 
> works for iOS and Android. The app makes many cross domain requests, so I 
> have this in my config.xml:
> <code><access origin="*" /></code>
> I gave the xap to client and they were able to install it but not able to 
> login. I do not have access to a windows phone, so a lot of this is 
> speculations. Please help me figure out if this is an issue with Cordova or 
> not.
> Based on the fact that we do not see any record on our server, I think that 
> the app was never granted cross domain access.
> I am not sure what that cross domain access should be. However, when I open 
> the app.xap package I downloaded from phonegap build server and open the 
> AppManifest.xaml file I do not see the ExternalCallersFromCrossDomain 
> property at all.
> Note: this is my first bug report here, so Hi!



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to