locked
New transport for Android clients that need long lasting two way persistent connections RRS feed

  • Question

  • User796713934 posted

    Do you think it is possible to make a new ClientTransport implementation that uses Google Cloud Messaging (GCM) Cloud Connection Server (CCS), which is an XMPP endpoint, for transmitting messages back and forth between server and Android clients?
    The application I'm developing it's from the chat application type. But the Android platform makes it very hard for someone to keep a web-socket connection open for a long time. The device goes to sleep, the connection it's lost, and you get notified too late. If you keep the device awake enough to process every incoming keep-alive from the signalr server (not all the time, only when the keep-alive is received), the battery usage becomes pretty high. Then you have to deal with their recently introduced "doze and standby modes". The problem becomes a lot more complex.
    It would be much easier if I had a "transport" for my mobile clients that hides this complexity from me using GCM CCS XMPP endpoint and I can continue enjoying life with SignalR.
    Do you think it is possible to introduce this on your todo list for SignalR?

    Monday, November 30, 2015 7:39 AM

All replies