How to send Offline Push Notification?

How can WhatsApp push notification be so frequent?

  • As far as I know , there is a limit on the number of push notifications that an app can send to a device within a short period of time. Moreover, the Apple Push Notification server only keeps a buffer of 1 message per application per device for push notification messages. It means that if Whatsapp server sends push notification so fast , the buffer will be overwritten with the new messages and the previous one will be lost. It seems not the case. I tested Whatsapp with many messages send in a short period of time ( around 10 messages in 5 seconds) , all of the 10 push notifications were delivered.

  • Answer:

    If your test device is connected to the push servers, the APNS buffer doesn't really affect the behavior - push notifications are delivered immediately without queueing.  The buffer comes into play when your device isn't reachable. Try turning off the radio, sending a bunch of messages to your device, then wait a few more minutes before turning the radio back on. The behavior should be closer to what you are expecting in this question.

Michael Donohue at Quora Visit the source

Was this solution helpful to you?

Other answers

I don't think it is true, both APNS and GCM delivers all the messages sent after the device is back online from a offline mode. Most messengers like whatsapp, viber work like this. If buffers are overwritten how does the whole concept of offline messages work then?

Prithiviraj Damodaran

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.