Query on Android push notification | Community
Skip to main content
maheswarik23685
Level 3
November 21, 2019
Question

Query on Android push notification

  • November 21, 2019
  • 2 replies
  • 2614 views

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,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Jonathon_wodnicki
Community Advisor
Community Advisor
November 21, 2019

Hi,

Did you try using push params in the delivery?

Thanks,
-Jon

maheswarik23685
Level 3
November 25, 2019

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