[FEAUTURED ON XDA PORTAL: LINK ]
Are you experiencing delayed push notifications from GTalk/Hangouts, GMail, Whatsapp (partial fix), Facebook, Play Store web install, etc? If so, then this app its for you!
It's FREE! No banners. No ads.
Please consider donating to the developer (link in the app).
ROOT is required. For non-root version check here: http://forum.xda-developers.com/show....php?t=2516849
This app ONLY change some NUMBERS inside GSF android database. Read below.
You will always receive instantly push notifications.
*** How do I use PNF?
Install the app, accept Superuser permissions, choose your interval, select “apply,” and enjoy. The Mobile heartbeat interval must be longer than the Wi-Fi interval, once you applied the settings, the heartbeats are permanently changed and survive to reboots.
* Why were my notifications delayed in the first place?
Apps using Google's push service (Hangouts, Gmail, Facebook Messenger, e.g.) connect your phone to Google’s servers via one TCP connection (on port 5228).
To keep this connection alive, Android uses a periodic heartbeat
to prevent the connection from timing out. By default, this heartbeat occurs every 15 minutes on wifi and every 28 minutes on a mobile data connection.
This is problematic because most Wi-Fi routers and mobile carriers will automatically terminate this connection after a short time of inactivity.
Because your phone is not aware that this connection was externally closed, you will not receive push notifications until this connection is reestablished when the next heartbeat is sent.
* How does PNF solve this problem?
PNF simply updates 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).
Once set to the recommended 5-minute heartbeat interval
, you should receive all push notifications instantly.
PNF does NOT run in background.
PNF will have not affect battery life.
* GTalk Service Monitor
To check what I'm talking about open the dialer, and dial this code *#*#TALK#*#*, scroll down and search for the Heartbeat Interval. GTalk Service Monitor its a default tool integrated on android. It's part of GTalk, since push service use google talk protocols. If the previous don't work try *#*#426#*#* and search for initial heartbeat.
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
tap "Restore default heartbeats" in the app.
Download here: PLAY STORE LINK
(or get the attached APK in case not available on your country for some reason)
Please, if the are problems dont rate bad, send me an email ( email@example.com ) or post the problem in this thread and I'll answer you as soon as possible.
Feedback are welcome!
See post Number 2
See post Number 3
Report to google here
Download it from play store to receive future app updates