anismiles/websocket-android-phonegap — pull request #16 by soundstep (2013-02-14 14:04:43+00:00)
Title: disable websocket.js out of phonegap

Hi,

First of all, your plugin is great, I just had to add the java class and the js to enable the websockets on my socket.io based app. Really great.

Just a very small addition to avoid "switches", the code of my app runs everywhere (browser desktop, browser mobile, phonegap android, phonegap ios).

To avoid switches and versions not to load your websocket.js when the code is not running in a phonegap environment, I just disabled the library. If that's ok to put it in, I guess it doesn't hurt?

Even just for running in a dev environment, at least there's no error thrown.

Cheers.

Romu