Need the most reliable way to push notifications

I have an Android app that uses GCM for push notifications. Let's say I need this for ambulance drivers when receiving new calls. Right now, there is a delay between when the server sends the push notification and when the Android device receives it, sometimes more than a minute. I read in Stack Overflow about sending heartbeat, set delay_while_idle to true / false (yes, I've seen both), etc.

What I need to know is how this happens with GCM, or if there is a way to increase the Push notification time. I had socket suggestions, test messages, etc. Because this is potentially for medical services, I cannot afford to delay any longer than absolutely necessary. I have read that GCM notification delivery is not guaranteed, so there is a direction someone can point me to, perhaps do it myself so that I can do something guaranteed.

+3


source to share


1 answer


GCM push notifications are not reliable.

Look at Pushy ": https://pushy.me/

They state the following on their website:



The most reliable push push gateway, perfect for real time applications.

Google Cloud Messaging just doesn't cut it for time-sensitive, real-time apps due to its instability and throttling push notifications.

Pushy works by maintaining a dedicated background socket connection using the MQTT protocol, an extremely light pub / add-on protocol that consumes very little network bandwidth and battery, making it ideal for mobile devices.

You can use it for free with up to 100 devices, so you can just try to see it if it suits your needs. I haven't tried it.

+1


source







All Articles