You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep your connections with APNs open across multiple notifications; don’t repeatedly open and close connections. APNs treats rapid connection and disconnection as a denial-of-service attack. You should leave a connection open unless you know it will be idle for an extended period of time—for example, if you only send notifications to your users once a day it is ok to use a new connection each day.
So is it a problem to disconnect and reconnect each time? Is there an option to keep the connection? Thanks.
The text was updated successfully, but these errors were encountered:
It seems
apns
disconnect from Apple's APNs server and establish a new one from the source code:While Apple says: (https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW1)
So is it a problem to disconnect and reconnect each time? Is there an option to keep the connection? Thanks.
The text was updated successfully, but these errors were encountered: