It works with your tutorial, however I'm sending the message using a .NET application and I need to receive the message on iOS (Xcode) as well and it doesn't work with the payload in the B4J tutorial, I need to put title and body inside "notification"
"notification":{
"title":"Portugal vs. Denmark",
"body":"great match!"
},
it's not pretty but copying title and body in both data and notification does the trick.
{
"message":{
"token":"...",
"notification":{
"title":"Portugal vs. Denmark",
"body":"great match!"
},
"data" : {
"Nick" : "Mario",
"Room" : "PortugalVSDenmark"
"title":"Portugal vs. Denmark",
"body":"great match!"
}
}