4

What is the state of websockets in PhoneGap for iOS?

I'm trying to figure out what I need to do, if anything, to make socket.io work with my phonegap app. Thanks for any information, new to phonegap.

fancy
  • 48,619
  • 62
  • 153
  • 231

1 Answers1

1

Looks like you might need a plugin to do this.

This stackoverflow answer might help you: Socket.io + PhoneGap

Or you could jump straight to this blog entry which describes how to use the plugin:

http://remysharp.com/2010/10/04/websockets-in-phonegap-projects/

Problem appears to be that phonegap makes socket requests from file:// rather than http://

Community
  • 1
  • 1
Ben Clayton
  • 80,996
  • 26
  • 120
  • 129