ToothlessGear / node-gcm

A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
https://github.com/ToothlessGear/node-gcm
Other
1.31k stars 206 forks source link

Add support for Priority option #136

Closed Faleij closed 9 years ago

hypesystem commented 9 years ago

Some more details about the option and a link to the relevant documentation would be very nice :)

Faleij commented 9 years ago

Thought the devs would already know about the official docs GCM, nevertheless here's the link: https://developers.google.com/cloud-messaging/server-ref See table 1. Options. priority.

hypesystem commented 9 years ago

It is always hard to have a discussion without a starting point ;)

This looks like a fairly small change. It just needs to be added to the message and sender as any normal argument.