JSON must contain a list of defined notification text
[
{
"language": "ENGLISH",
"notificationType": "YOUR_TURN",
"isPersonal": true,
"title": "It' your turn!",
"body": "It’s now your turn in the queue {}"
},
{
"language": "ENGLISH",
"notificationType": "YOUR_TURN",
"isPersonal": false,
"title": "Next in {}",
"body": "{} is now responsible for the queue {}"
}
]
- Use this JSON to form the firebase notification message
- Create endpoint, so mobile app can request this JSON each time when the app is opened. Mobile app can use it to show notifications
JSON must contain a list of defined notification text
[ { "language": "ENGLISH", "notificationType": "YOUR_TURN", "isPersonal": true, "title": "It' your turn!", "body": "It’s now your turn in the queue {}" }, { "language": "ENGLISH", "notificationType": "YOUR_TURN", "isPersonal": false, "title": "Next in {}", "body": "{} is now responsible for the queue {}" } ]