Keno service sends:
{
"application": "keno",
"event": "win",
"data": {
"message": "this is the test message, you have won",
"stt": "659228310548717",
"identifier": "1012998",
"sound": "chime.wav"
}
}
Push Notification transforms this into
{
"event": "win",
"stt": "659228310548717",
"identifier": "1012998",
"aps": {
"alert": "this is the test message, you have won"
//"badge": "" - perhaps in the future (would be recorded by the PN service)
"sound": "chime.wav"
}
}
Keno service sends:
{
"application": "keno",
"event": "jackpot10",
"data": {
"message": "Jackpot10 is currently above 20 million!",
"currentLevel": 20100000,
"sound": "jackpot10.wav"
}
}
Push Notification service transforms this into:
{
"event": "jackpot10",
"aps": {
"alert": "Jackpot10 is currently above 20 million!",
"sound": "jackpot10.wav"
}
"currentLevel": 20100000
}