If you don''t have ROOT check PNF no-root on my other apps.
Do you have delayed push notifications with GTalk/Hangouts, GMail, Whatsapp (partial fix), Facebook, Play Store web install, etc?
This app its for you! It''s FREE and with NO banners! Consider a donation from the app.
What this app does?
This app change the heartbeats interval numbers. The heartbeat interval is the android keep-alive mechanism to keep the push connection alive by sending a little network packet every x minutes. PNF only update that interval number. By keeping alive the push connection (for example every 5 minutes), push notifications will be instantly.
You do NOT need to set 1 minute...You will always receive instantly push notifications.
Don''t rate bad! If you have problems or doubts, send me an email ( firstname.lastname@example.org ) and I will answer you as soon as possible.
XDA support thread: http://forum.xda-developers.com/showthread.php?t=2142503
● How to use?
Install, accepts superuser permissions, choose your intervals, press apply and enjoy. Mobile heartbeat must be bigger than the wifi one, once you applied the settings, the heartbeats are permanently changed and survive to reboots.
● The problem (read this for better understanding):
Apps like GTalk/Hangouts, GMail, Whatsapp (partially push), Facebook Messenger, etc, use google''s push service (GCM) through one TCP shared connection on the port 5228 between your phone and google servers.
To keep this connection alive, android by default use a periodic heartbeat (a small network data packet) which is used to avoid the connection timeout. Unfortunately this heartbeat by default occurs only every 15 minutes on wifi and every 28 minutes on 3G.
What may happen for most users is that the wifi router or the mobile carrier can automatically close/terminate this connection after some SHORT time of inactivity, for example when you are not sending / receiving any push notification.
For how the push notifications works, your phone is not aware that this connection was externally closed, so this is the reason why you will have no push notifications until this connection get re-established by android, when the next HeartBeat is sent.
● The solution in my app:
This app ( PNF ) ONLY update this heartbeat interval (stored on the GSF database inside android data partition) to the value of your choice, in order to maintain the push service connection (GCM) alive.
The recommended value is 5 minutes since its should be enough short for every user. This value will allow you to always receive instantly notifications.
This app does NOT run in background.
Shortening the heartbeat interval to 5 minutes should not have a big impact on the battery life at all.
This app is provided with no warranty. You are responsible for what you are doing on your phone.
● How to restore the default heartbeat interval value
Before to uninstall PNF choose the setting "Restore default heartbeats" in the app.
Keywords: push notification fix, pnf, GCM, c2dm, xda, root