0.1.3 • Published 8 years ago

dpd-fcm v0.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

FCM Push notifications for Deployd

Install

npm install dpd-fcm --save

Configure

  1. Read Configure FCM Server
  2. Create a FCM resource in Dashboard
  3. Set your SERVER_KEY in Settings

Usage

dpd.resourcename.post(
{ "notification": {
  "title": "Portugal vs. Denmark",
  "text": "5 to 1"
  },
  "to" : "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1..."
},
function(result, err) {
  console.log(result);
}
);

Reff

For more information about params and result, here.

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago