How to send Offline Push Notification?

How do you provide real time push notification to ios apps?

  • Hi, I'm trying to create a real time push notification service for my ios app. I need push notification to trigger when my ios app is not running which is the whole idea of using APNS. Let me give you a short background of what i mean. Android provides C2DM(now moving to GCM) to provide real time client push notifications. This allows client to respond to app server events even when the app is not running. You use this gateway to notify a device directly. It is fast and responsive. On iOS we have a different scenario, iOS provides us with APNS which requires you to queue your requests and send it. APNS works. However, you can push around once a minute to your client; otherwise you will be penalized for creating multiple connections and not batching your requests. I am actually very concerned with being penalized so I wish to know if there are any indicating a threshold for what apple will consider a dos attack Moreover, you can't create a solution via a socket connection because wifi is not always available and iOS does not allow your process to run in the background to maintain the said socket connection. And thus my dilemma. I noticed that facebook is able to receive messenger push in real-time(2 seconds)... How are they doing it? Are they using plain apns? Best Regards, Stevenson Lee

  • Answer:

    Yes, they are using APNS, so are other high volume push notification apps such as ESPN's Scorecenter (which we developed with ESPN). In fact, it's in the rules - you must use APNS, no other method is allowed.

Scott Michaels at Quora Visit the source

Was this solution helpful to you?

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.