hagsteel / swampdragon

swampdragon
Other
556 stars 73 forks source link

Support in mobile devices #172

Open YeisonVargas opened 9 years ago

YeisonVargas commented 9 years ago

Hello, I want to know if swampdragon works in browsers mobile devices.

(Thank you for develop swampdragon!) @jonashagstedt

hagsteel commented 9 years ago

I can't say which devices it works on but I've tried it on a few iPhones and Androids and it works.

ghost commented 9 years ago

If I recall correctly, older versions of Android do not have native websockets. SockJS should fall back to xhr streaming/polling on those devices but things should still work, assuming you've left those transport methods available on the server side.

YeisonVargas commented 9 years ago

Thanks!

mentholi commented 9 years ago

Hello, SwampDragon seems to be using Tornado 4.3 and sockjs-tornado 1.0.2 (SockJS 0.3.4) and I can confirm that they support most if not all the mobile and tablet devices you would be targeting. I can tell you that because our company has thousands of connections using almost exact same libs (Not using swamp dragon though ;) ).

Here is list of supported transports by browser: https://github.com/sockjs/sockjs-client If the client doesn't support for example websocket then it is possible for them to use xhr or jsonp polling and that will work in antique browsers also.

I think this could be closed. :)