Trim Notifications if body is too long
Closed this issue · 4 comments
voitau commented
In particular, for APNs:
Apple Push Notification service refuses any notification that exceeds this limit.
node-apn has a method Notification.prototype.trim
to deal with this.
It would be good to trim the message by default and/or configure this behavior. Which may happen somewhere in apns.js
by adding note.trim()
.
voitau commented
Hi, any thoughts on this?
superkhau commented
Closing as abandoned. If you are still interested in working on this in the future, just ping and we can reopen it then.