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
Related Q & A:
- How to open a fragment from a notification?Best solution by Stack Overflow
- How can I use real time social data from Datasift and perform real time analytics on it?Best solution by Quora
- How to get real time quotes for NSE stocks?Best solution by Yahoo! Answers
- What is the best interactive real-time weather map online?Best solution by radar.weather.gov
- How long does UPS real time shipping take?
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.