Current Version: 4.0
Requires Android: 2.2 and up
Category: Tools
v4.0 update:
Version 4.0, 2013/08/29:
- PNF now is near perfection, it set the heartbeat in a persistent way using GSF “overrides” table. Once you set the heartbeat, PNF doesn’t need to run in background to update it and android will not revert it. PNF anyway will still run to change the heartbeat only in case you set a wifi hb greatest than the mobile one, because of a GSF limitation.
- Added setting to restore android default heartbeat. MANDATORY if you want to uninstall PNF.
- After update press “set he..
Overview:
**** NEEDS A ROOTED PHONE ***
Do you have delayed push notifications with GTalk/Hangouts, GMail, Whatsapp, Facebook, 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 will always receive instantly push notifications.
Don’t rate bad! If you have problems or doubts, send me an email ( ask.andqlimax@gmail.com ) 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 (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 a 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.
● Notice:
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
0 komentar:
Posting Komentar