Skip to content

Unable to send priority 10 due to validation check #172

@MarmolDevApps

Description

@MarmolDevApps

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions