-
Notifications
You must be signed in to change notification settings - Fork 205
Description
Hi,
I am trying to send messages. The messages are getting sent to the app. However the messages are not appearing in the notification area on top drawer.
The message object that gets sent is as below
{"collapseKey":"Updates Avaliable","priority":"high",
"contentAvailable":true,
"delayWhileIdle":true,
"restrictedPackageName":"XXXXXXXXXX",
"data":{
"key1":"message1","key2":"message2","eventName":"ar","message":"Test Is this coming","route":"XX"
},
"notification":{"title":"Hello from XX","icon":"mrkr1.png","body":"There is a New Appointment from My Best Guest"}
}
When it reaches the client i see this object received is as below
{"title":"Hello from XXX","message":"Test Is this coming","additionalData":{"e":"1","icon":"mrkr1.png","key1":"message1","key2":"message2","eventName":"ar","route":"XX","collapse_key":"XXXX","foreground":true}}
Researched at lot of places as to how to get the event appear in notification Area as well. Documentation does not say musch about it also