Karim M. El Tel
Karim M. El Tel

Reputation: 438

Large delay in GCM push notification

I put in reference this Link

I implemented it it works but am facing troubles: first sometimes I need to restart the android emulator so the push notification could be delivered when the emulator is restarted the push notification work properly. after a while the push notification does not work and it need about 15 min to the push notification to get delivered. if I restart the emulator the push notifications get delivered and so on...

what do you think the problem here?

Upvotes: 4

Views: 2212

Answers (2)

Satyendra Routela
Satyendra Routela

Reputation: 77

if you are expecting a notification but there a huge delay in android emulator. You can perform following step to get instant notification.

Turn off the mobile data in Emulator then turn it on again, you will get the notification as soon as you turn it on hope this helps :)

Upvotes: 3

andQlimax
andQlimax

Reputation: 788

Its your wifi router probably, check the description here

https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer

I opened an issue to google here: https://productforums.google.com/forum/#!category-topic/nexus/connecting-to-networks-and-devices/fslYqYrULto

and they agree there is a TCP timeout on some conditions.

Upvotes: 2

Related Questions