Skip to content

Notification not coming in notification Area #180

@purnendu9

Description

@purnendu9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions