Thursday, September 12, 2013

Push Notifications Fixer 4.1

Download :

Current Version: 4.1
Requires Android: 2.2 and up
Category: Tools
v4.1 update:
Version 4.1, 2013/09/12:
- Fixed heartbeat not set in some rarely cases;
- Link updated to the new google forum (old one was closed);
- Added italian translation;
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.
Please note this app does NOT solve wifi / 3g disconnection problems.
This app ONLY change some NUMBERS inside GSF android database. Read below.
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 ( ) and I will answer you as soon as possible.
XDA support thread:
How to use?
Install, accepts superuser permissions (set always allow, optionally disable superuser notifications), enjoy.
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 drain battery in background. The app ONLY run to set the heartbeat interval when you switch network type from wifi to mobile or vice versa in case you set a wifi heartbeat greatest than the mobile one.
Shortening the heartbeat interval to 5 minutes should not have a big impact on the battery life at all.
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.
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

No comments:

Post a Comment