Notification Integration
TIXNGO provides a flag "sourceFrom": "TIXNGO" in the notification payload data to distinguish between Fan Apps notifications and TIXNGO's notifications.
Notifications dispatch
TIXNGO back-end initiates a Push Notification to Firebase
Firebase forwards the Push Notification to Fan App
Fan App handles the notification as follows:
It checks if the notification is originating from TIXNGO (based on the flag).
If it's an TIXNGO notific
TIXNGO Manager forwards the payload to the SDK
SDK executes the notification accordingly
{
"notification": {
"body": "You received a new ticket from Oanh",
"title": "Ticket received"
},
"data": {
"body": "You received a new ticket from Oanh",
"title": "Ticket received",
"type": "RECEIVED",
"click_action": "FLUTTER_NOTIFICATION_CLICK",
"ticketId": "www.google.com@PLAY-10229221011056",
"sourceFrom": "TIXNGO"
}
}
TIXNGO Limitations
Fan App Firebase information is mandatory to configure it on TIXNGO infrastructure side
Only support FCM (Firebase Cloud Messaging)