by mkuklis

Websocket PhoneGap plugin for Android

211 Stars 82 Forks Last release: Not found 118 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Websocket PhoneGap plugin for Android

Phonegap plugin which adds support for websockets under Android. The websocket client is based on Java-WebSocket.


  • supports multiple protocols / drafts
  • compatible with Phonegap 3.x and installable via PhoneGap (or Cordova) CLI.
  • works well with and other WebSocket libraries.
  • supports WSS
  • supports binary data
  • falls back to native WebSocket in KitKat

The older version of the plugin (PhoneGap 2.x.x) can be found here:


Inside your phonegap project:

cordova plugin add

Or using the phonegap CLI:

phonegap local plugin add


You can find demo based on this plugin and here:


If you plan to test it locally from your emulator please make sure to use
ip address when connecting to your local server.

If you plan to run it from your phone please make sure to update your

file and add your server's IP address to the
tag (e.g.
 ) More information can be found here.



The MIT License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.