Closed taylortrimble closed 1 year ago
There isn't at the moment – we just assume it is recoverable by simply trying to reconnect. Any ideas where you would like this to send back an error? In the client initialization or from the err channel?
Probably from the err channel in this case. I think we'd also have to make it clear to the end user that retrying is built into the package!
Is there a provision for the
apns.Client
to notify the application when an APNS connection has been lost? I'm thinking I have a bug where I cannot connect to the APNS gateway, but I'm unable to get any visibility into the package if the connection is succeeding or not.