Skip to content

Instantly share code, notes, and snippets.

@lholmquist
Last active December 25, 2015 00:09
Show Gist options
  • Save lholmquist/6885434 to your computer and use it in GitHub Desktop.
Save lholmquist/6885434 to your computer and use it in GitHub Desktop.
//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": {
"...": "...."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment