Expand my Community achievements bar.

Query on Android push notification

Avatar

Level 4

Hi Team,

When we tried to trigger push notification the problem is we are not getting anything in notification and we are getting everything in data

Below is the format expected

{

"notification" : {

"body" : "Hello From Campaign789",

"OrganizationId":"2",

"content_available" : true,

"priority" : "high",

"subtitle":"Campaign Push Message12",

"title":"Campaign Title34",

"text" : "Big Text",

"contentTitle": "Content Title",

"summaryText": "Big Text summary will get dsiplayed here we cans show any big text we want to display if notfication get expanded"

},

"data" : {

"landing_page" : "buybundle",

"text" : "Big Text",

"contentTitle": "Big Text Content Title",

"summaryText": "Big Text summary will get dsiplayed here we cans show any big text we want to display if notfication get expanded",

"priority" : "high",

"sound":"app_sound.wav",

"content_available" : true,

"bodyText" : "New Announcement assigned",

"organization" :"Elementary school"

}

}

but we are getting like below

{"_collapseKey":"7744000","_data":{"Title":"Push MK","_msg":"Hi Test,\n\nThis is a test push notification","_mId":"7744000","_dId":"c67ca44","Message":"Test MK"},"_from":"40133492374","_messageId":"0:1574082464037201%8046df8abe4668d0","_sentTime":1574082464029,"_ttl":3600}

Could anyone suggest how to achieve this.

Thanks,

2 Replies

Avatar

Community Advisor

Hi,

Did you try using push params in the delivery?

Thanks,
-Jon

Avatar

Level 4

Hi Jon,

Thank you for your response. We have added parameters already. Problem is not with parameters we are not getting the messages like from whom we are getting messages and what message they are sending are not displayed in the notification bar.

Can you please let us know whether do we need to do any customization in AC?

Thanks,

Maheswari