I am writing an iOS application which will be sent notifications over APNS from backe开发者_StackOverflow社区nd 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)
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.
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.
精彩评论