forked from node-apn/node-apn
-
-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
Description
I'm unable to send priority 10 in the request because of the following validation on line 71 of notification/index.js file
if (this.priority !== 10) {
headers['apns-priority'] = this.priority;
}This check prevents sending the priority when it is 10, as it only sets the apns-priority header when the priority is different from 10. However, the server accepts priority 10, and I need to find a way to send this value correctly.
I am implementing the new broadcast functionality and need to send updates with priority 10.
Thanks for the quick support.