how to send apn's to multiple token in one go in nodejs?

88 views
Skip to first unread message

Priyanshi Srivastava

unread,
Nov 29, 2018, 2:56:24 AM11/29/18
to node-apn
I have successfully sent apn to a single device with below code:

apnProvider.send(note, deviceToken).then( (result) => {
  // see documentation for an explanation of result
});

but i need to send note object to multiple deviceToken

How would i implement this in nodejs
Reply all
Reply to author
Forward
0 new messages