[aerogear-dev] Updated Sender API
Lucas Holmquist
lholmqui at redhat.com
Tue Oct 8 10:48:13 EDT 2013
i know the api specs on the website haven't been updated yet, but i'm trying to update the node sender client and i'm not seeing how to send a simple push "message" without specifying "simple-push" as an Object.
basically the first example doesn't seem to work for simplePush anymore
I'm not sure if this was overlooked when updating the UPS?
//No criteria, just a normal send( what use to be broadcast )
{
message: {
alert: "...",
sound: "...",
badge: "...",
"simple-push": "version=123"
}
}
//With Criteria
{
variants: [..., ...],
deviceType: [..., ...]
message: {
alert: "...",
sound: "...",
badge: "...",
"simple-push": "version=123"
},
"simple-push": {
"someCategory": "...."
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131008/38be8eb1/attachment.html
More information about the aerogear-dev
mailing list