title: Support for Websockets on Android
body: <p>I'm about to start a project for a client that has lots of data that needs to be real-time.</p>
  
  <p>There are two mobile apps that I will be building with trigger.io, as well as a web UI, and all of these need to stay in sync.</p>
  
  <p>I plan to use socket.io's WebSocket implementation with my Node.js backend for the webapp &amp; mobile apps. This will work great on iOS and modern web browsers.</p>
  
  <p>However, Android's webview does not support websockets at all.  And it would simply destroy the mobile app user's data plan if socket.io used its long-polling fallback on Android.</p>
  
  <p>I was wondering: is there any possibility of an implementation of Java WebSockets for trigger.io Android, then exposing that to the WebView?  There is a <a href="https://github.com/mkuklis/phonegap-websocket" rel="noreferrer">simple implementation</a> for phonegap</p>
  
  <p>I suppose I could write a trigger.io plugin for it - but I want to be sure before I jump in to this project if this is feasible / not too hard to write a plugin for.  </p>
  
  <p>I used trigger.io long ago, but not since all the fanciness came out like native plugins.</p>