Skip to content

send push notification to android devices with deployd

Notifications You must be signed in to change notification settings

catalinmiron/dpd-notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dpd-notify

Description

Send android or iOS push notification in deployd

Getting started

This module requires deployd ~0.7.0.

If you haven't used Deployd before, make sure to read the documentation.

Installation without package.json

npm install dpd-notify

Installation with package.json

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.

The dpd-notify module

Overview

It is a deployd module that wrap node-gcm and node-apn

Options/Settings

Require:

  • gcmSender

Optional:

  • apnCert
  • apnKey

Please fill them in using the deployd dashboard config page of this module.

Apple Push Notification Preparing Certificates

node-apn Preparing Certificates

Usage example

// send push notification to android phone dpd.notify.post( { gcmIds:['GCM_ID'], title:'Title', message:'Message' } );

Contributing

Just send me a Pull Request in Github.

Release history

  • 1.0.0: first version

Contributors

Eric Fong

About

send push notification to android devices with deployd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%