适用于 Android 的 Websocket PhoneGap 插件
Phonegap plugin which adds support for websockets under Android. The websocket client is based on Java-WebSocket.
The older version of the plugin (PhoneGap 2.x.x) can be found here: https://github.com/mkuklis/phonegap-websocket/tree/phonegap-2.x.x
Inside your phonegap project:
cordova plugin add https://github.com/mkuklis/phonegap-websocketOr using the phonegap CLI:
phonegap local plugin add https://github.com/mkuklis/phonegap-websocketYou can find demo based on this plugin and socket.io here:
https://bitbucket.org/mkuklis/phonegap-websocket-demo
If you plan to test it locally from your emulator please make sure to use 10.0.2.2 ip address when connecting to your local server.
If you plan to run it from your phone please make sure to update your config.xml file and add your server's IP address to the access tag (e.g. `` ) More information can be found here.
##License:
The MIT License
暂无开放 Issues,或尚未同步最近议题。