Send android or iOS push notification in deployd
This module requires deployd ~0.7.0.
If you haven't used Deployd before, make sure to read the documentation.
npm install dpd-notify
If you have a package.json, you'll have to add this module in it.
npm install dpd-notify --save
Once it is installed, Deployd will automatically load it.
For more information about Modules, take a look at the module page on the deployd documentation.
It is a deployd module that wrap node-gcm and node-apn
Require:
- gcmSender
Optional:
- apnCert
- apnKey
Please fill them in using the deployd dashboard config page of this module.
node-apn Preparing Certificates
// send push notification to android phone dpd.notify.post( { gcmIds:['GCM_ID'], title:'Title', message:'Message' } );
Just send me a Pull Request in Github.
- 1.0.0: first version