APNS Send notifications from multiple servers

2019-03-30 13:58发布

问题:

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)

回答1:

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.



回答2:

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.