javascript - How to send Push Notifications with Parse.com Cloudcode -


i want send push notification cloudcode on parse.com.

the push notification should sent android devices subscribed specific channel , trigger service.

all need installation query, along accompanying push. example:

var pushquery = new parse.query(parse.installation); pushquery.containedin("user", userlist); parse.push.send({   where: pushquery,    data: {      alert: "your push message here!"   } }, {   success: function() {     response.success("pushed");   }, error: function(error) {    reponse.error("didn't push");   } }); 

that installation query can query based on channel, , there other specifications can make push query, given in documentation:

parse docs


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -