locked
Will an app using socket.io pass certification?

    Question

  • I'm using socket.io in my application to communicate with an existing server with a socket.io interface. 

    Will the use of that library fail certification?

    Thanks.

    Sunday, September 9, 2012 6:22 PM

Answers

  • Yes, jQuery is used by a number of apps already. So long as a library complies with Store policies themselves then there's no problem. It basically just looks like app code so far as the Store is concerned.
    • Marked as answer by sigermtl Monday, September 10, 2012 4:04 PM
    Monday, September 10, 2012 3:56 PM

All replies

  • Using sockets to a web service (e.g. http[s]://) is just fine. It's blocked on the local machine, however, so sockets to a desktop service is not possible, for example. Machines with a developer license installed (e.g. through Visual Studio) can use localhost:// but using localhost will fail Store ceritifcation.

    .Kraig

    Monday, September 10, 2012 3:15 AM
  • To be more concise, I meant to talk about the 3rd party cross-browser web sockets library called Socket.IO: http://socket.io/.

    The node.js web server I'm connecting to only exposes that interface, so it's easier if I include that library in my Win8 app to connect (I don't use the built-in methods of connecting to a web socket).

    I think it's similar to using jQuery in an app (and thus it should be fine).

    Monday, September 10, 2012 3:31 PM
  • Yes, jQuery is used by a number of apps already. So long as a library complies with Store policies themselves then there's no problem. It basically just looks like app code so far as the Store is concerned.
    • Marked as answer by sigermtl Monday, September 10, 2012 4:04 PM
    Monday, September 10, 2012 3:56 PM