Hi,
Right now, the "selective send" has (besides "query" components), one "message" object, that contains the entire payload (see [1]).
That message/payload object does include the metadata for the SimplePush clients:
"message": {
"key":"value",
"key2":"other value",
"alert":"HELLO!",
"simple-push":
{ "SomeCategory":"version=123", "anotherCategory":"version=456"}
}
I'd like to move the "simple-push" one level up, like:
"message": {
"key":"value",
"key2":"other value",
"alert":"HELLO!"},
"simple-push":{
"SomeCategory":"version=123",
........}
}
That way the "simple-push" data is not "pushed" to Android/iOS (that does not make sense anyways :-)) It also makes writing "pure" simple-push messages easier and also eases up processing on the server.
-Matthias