Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support in mobile devices #172

Open
YeisonVargas opened this issue Nov 5, 2015 · 4 comments
Open

Support in mobile devices #172

YeisonVargas opened this issue Nov 5, 2015 · 4 comments

Comments

@YeisonVargas
Copy link

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

(Thank you for develop swampdragon!) @jonashagstedt

@hagsteel
Copy link
Owner

hagsteel commented Nov 5, 2015

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

@ghost
Copy link

ghost commented Nov 5, 2015

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
Copy link
Author

Thanks!

@mentholi
Copy link

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants