README
GCM Push notifications for Deployd
Install
npm install dpd-gcm --save
Configure
- Read https://developer.android.com/google/gcm/gs.html
- Create a GCM resource in Dashboard
- Set your API key in Settings
Usage
dpd.resourcename.post(
{
message:"Your message here",
devices:["deviceID1","deviceID2", ...]
},
function(result, err){
}
)