user2163780
user2163780

Reputation: 173

GCM stop working after some time

I'm using GCM service in my app. It is working fine, however some time it stops receiving GCM notifications. I have to restart the device. Is there any way to avoid this?

Upvotes: 10

Views: 2058

Answers (1)

braren
braren

Reputation: 163

This a known problem with some wifi routers and mobile carriers, it's basically a tcp timeout problem and actually solution is implement a heartbeat service that send to clients every 5 mins.

This a opened issue to google here: https://productforums.google.com/forum/#!category-topic/nexus/connecting-to-networks-and-devices/fslYqYrULto They agree there is currently an issue.

Upvotes: 1

Related Questions