locked
Windows Phone - Hybrid Sencha App Issue RRS feed

  • Question

  • We are building a hybrid app using Sencha Touch 2.4.0 targeting iOS, Android and Windows Phone. Although we are able to package and run the app for windows phone 8.1 using stub data but we are not able to make any calls to the web service(services are exposed to public server). After building an app, when we make an XMLHttpRequest call (POST), the request seems to return a null response. 

    We are trying to hit a URL which is live(no VPN required) and accessible from Internet Explorer mobile browser. We are able
    to hit the services and get appropriate response when we run the app in IE10 desktop browser(or even mobile browser). 

    We use a Nokia Lumia 920 running on Windows Phone 8.1 OS as the test device. We are not facing the same issues in any android phone or iphone. Therefore the issue seems to be restricted to windows phones only. We have tried debugging the app extensively for any possible fault
    in our code but we couldn't figure it out. 

    It would be very helpful if anyone has faced a similar issue and has a solution or workaround. 
    Monday, February 2, 2015 11:07 AM

All replies

  • I'm not familiar with Sencha and you don't provide a lot of information about what your app is actually doing here, but check that you have network capabilities selected. In Visual Studio these are exposed in the capabilities tab in the manifest editor. Without those declared the app does not have access to the network.
    Monday, February 2, 2015 5:53 PM