Hello pushwoosh community.

I have question regarding status bar notification in android.

When my application is running on android i want to receive message with header and title.

However when application receive woosh message from server it only shows "Application Name" as header and no message is shown in status bar.

I have examined pushwoosh source code a little and figured out that it is probably new version bug/feature because pushwoosh notification json object contains only "message" field instead of expected "title" and "header" fields, because even to show alert i had to change example code from this page https://www.pushwoosh.com/programming-push-notification/android/android-additional-platforms/phonegapcordova-sdk-integration/ changing field "title" to "message" for alert.

Is this a bug? Or i have to reconfigure my GoogleCloudMessages service in some propriate manner? Any help appreciated. Thanks.

asked 23 Mar '15, 16:59
phonegap_noob's gravatar image

phonegap_noob
113

edited 23 Mar '15, 19:05

If you go to the application settings in the control panel make sure you select "Pushwoosh" radio button. This would set the payload to the expected format for Pushwoosh SDK. Let me know if you have any problems getting to the app settings in the control panel.

permanent link
answered 24 Mar '15, 12:30
shader's gravatar image

shader
3.9k7

Hi,

Changed via https://cp.pushwoosh.com/ -> Application Settings -> SDK Settings Android to "Pushwoosh" and it works fine now.

Thanks for help. Best regards.

permanent link
answered 24 Mar '15, 13:36
phonegap_noob's gravatar image

phonegap_noob
113

Hi, Changing the Android SDK to "Pushwoosh" allows for the title to be displayed in the status bar. However, the notification no longer shows up in the notification centre. Changing the Android SDK to "Cordova" shows the message in the notification centre, however the title of the notification is blank.

We need the messages to show up in the notification centre, so that they can be used to deep link into the app.

How do we configure PW to show messages in the notification centre with titles?

Thanks!

permanent link
answered 10 Jun '15, 17:30
angrybadger's gravatar image

angrybadger
111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×111
×18

question asked: 23 Mar '15, 16:59

question was seen: 2,010 times

last updated: 10 Jun '15, 17:30