All Projects → joaopedronardari → Androidheartbeatfixer

joaopedronardari / Androidheartbeatfixer

Licence: mit
Way to set heartbeat interval and the User receive PushNotifications from GCM. Based on related post in Google Forums about HeartBeat problem.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Androidheartbeatfixer

andpush
Android Push Notification in Ruby: The fastest client for FCM (Firebase Cloud Messaging)
Stars: ✭ 83 (+66%)
Mutual labels:  gcm
Illustrated Tls13
The Illustrated TLS 1.3 Connection: Every byte explained
Stars: ✭ 372 (+644%)
Mutual labels:  gcm
Swcrypt
RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and OS X
Stars: ✭ 632 (+1164%)
Mutual labels:  gcm
wiz-packet-map
Wizard101 tool that dynamically dumps packet data and decrypts packets to and from the server that use aes-gcm encryption
Stars: ✭ 18 (-64%)
Mutual labels:  gcm
azure-notificationhubs-java-backend
Azure Notification Hubs SDK for Java
Stars: ✭ 31 (-38%)
Mutual labels:  gcm
Node Pushnotifications
Push notifications for GCM, APNS, MPNS, AMZ (automatic detection from device token)
Stars: ✭ 432 (+764%)
Mutual labels:  gcm
MiMA
Model of an idealized Moist Atmosphere: Intermediate-complexity General Circulation Model with full radiation
Stars: ✭ 28 (-44%)
Mutual labels:  gcm
Radvpn
Decentralized VPN
Stars: ✭ 993 (+1886%)
Mutual labels:  gcm
MongoosePush
MongoosePush is a simple Elixir RESTful service allowing to send push notification via FCM and/or APNS.
Stars: ✭ 101 (+102%)
Mutual labels:  gcm
Gorush
A push notification server written in Go (Golang).
Stars: ✭ 5,933 (+11766%)
Mutual labels:  gcm
PUSHTestFCM
[FireMonkey] Push test project
Stars: ✭ 17 (-66%)
Mutual labels:  gcm
android-easy-gcm
Use this library to add GCM to your project, only in a few minutes !
Stars: ✭ 50 (+0%)
Mutual labels:  gcm
Onesignal Android Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native Android or Amazon app with OneSignal. https://onesignal.com
Stars: ✭ 503 (+906%)
Mutual labels:  gcm
MultiGCM
Node.JS module to send GCM Push Notifications for both iOS & Android
Stars: ✭ 16 (-68%)
Mutual labels:  gcm
Gaurun
General push notification server in Go
Stars: ✭ 804 (+1508%)
Mutual labels:  gcm
pushex
Push notifications for Elixir
Stars: ✭ 96 (+92%)
Mutual labels:  gcm
Pushnotification
PHP and Laravel Package to send push notifications to Android and IOS devices.
Stars: ✭ 395 (+690%)
Mutual labels:  gcm
Onesignal Gradle Plugin
Use with OneSignal-Android-SDK to help integrate it into your Android Studio or Gradle project. https://onesignal.com
Stars: ✭ 49 (-2%)
Mutual labels:  gcm
Pulse
A simple PHP script to send GCM/FCM messages
Stars: ✭ 20 (-60%)
Mutual labels:  gcm
Applozic Android Sdk
Android Real Time Chat & Messaging SDK
Stars: ✭ 611 (+1122%)
Mutual labels:  gcm

AndroidHeartBeatFixer

Way to set heartbeat interval and the User receive PushNotifications from GCM. Based on a Google Forums post about HeartBeat problem.

Android Arsenal

How GCM push notifications connection works?

"Android push notifications works through one TCP connection on the port 5228 between the phone and google servers. This connection is established when the phone connect to a network. All android push apps (gmail, whatsapp, hangouts, etc.) use Google Cloud Messaging (GCM) to send and receive push notifications thought that connection."

What's "HeartBeat"?

"Android have a mechanism to send a little network packet (called heartbeat) every x minutes to avoid the tcp connection timeout and check if the connection is alive; that is a wide common and working practice. If the connection is not alive, the GCM connection is re-established and previously notifications and new one come again."

What's the problem?

"The problem is that the heartbeat is sent with the following intervals:

  • every 28 minutes on mobile connection, 2g/3g/4g;
  • every 15 minutes on wifi;"

Can I solve this problem?

You can "solve" this problem today setting heartbeat interval from your app calling two intents from android:

  • com.google.android.intent.action.MCS_HEARTBEAT
  • com.google.android.intent.action.GTALK_HEARTBEAT

Source of explanations about HeartBeat - https://productforums.google.com/forum/#!msg/nexus/fslYqYrULto/lU2D3Qe1mugJ

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].