Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

APNS Send notifications from multiple servers

I am writing an iOS application which will be sent notifications over APNS from backend servers.

Can I configure multiple servers to connect to APNS and send notifications? If so, is there a limit on the number of servers which can send notifications for a single application?

I can't find any details about this on the Apple site (e.g. http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html)

like image 938
mchr Avatar asked Aug 18 '10 13:08

mchr


2 Answers

Yes, you can have multiple servers (Providers) connected to the APNS to send notifications to the same application, and no, there is no limit on how many. You just have to have the same APNS certificate on all of them.

like image 177
eliego Avatar answered Oct 24 '22 00:10

eliego


Having multiple servers (providers) works well when sending notifications, the question is how to handle the Feedback service?

One server might query the feedback service, get a list of device tokens that have been removed but some tokens might be there from a push notification send from another server.

like image 31
Bluehat Avatar answered Oct 23 '22 23:10

Bluehat