0.9.10 • Published 6 years ago

node-gcm2 v0.9.10

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

The goal of this proyect is providing a way to send GCM notifications to more than 1000 users easily.

Installation

npm install node-gcm2 --save

Usage

var gcm2 = require('node-gcm2');

// tokens is an array with all tokens to send ( it could be more than 1000 ... much more )
// sender, is a sender var from node-gcm
// message, is a message var from node-gcm 
// https://www.npmjs.com/package/node-gcm


gcm2.send(tokens, sender, message, function(badTokens){
    //badTokens is an array with all tokens with error from FCM.  
});
0.9.10

6 years ago

0.9.9

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago