andreialecu / node-apn-http2

Communicate with Apple Push Notification Service via native Node.js v8.8.1+ HTTP2 module (node-apn drop-in)
MIT License
26 stars 10 forks source link

The returned promise is not the same as node-apn #1

Closed andreialecu closed 6 years ago

andreialecu commented 6 years ago

Currently, provider.send() returns an array of responses, without separating them into sent/failed as specified here: https://github.com/node-apn/node-apn/blob/master/doc/provider.markdown#connectionsendnotification-recipients

This would be a good first task if someone needs kind of behavior.

andreialecu commented 6 years ago

Fixed in https://github.com/andreialecu/node-apn-http2/commit/7b7d6c83933bf403f88865b2f84763a7d436c128