Add callback or chan for failed pushes #386
Add the callback or chan with error and token for the failed push notification(apns and fcm).
There is a sync mode available that should allow for getting error feedback, see: #109. Though, I do not fully comprehend the design choice of having to switch to synchronous mode in order to be able to obtain feedback. A few points:
All in all, a method of obtaining error feedback in asynchronous mode is required. It could be as simple as introducing a new error feedback endpoint that, when queried, returns the feedback collected since the previous call to the endpoint. This way, no complicated callback mechanism would be required.
Update: FWIW, to tackle this I rolled my own over at https://gitlab.com/pennersr/shove