With reference to blog for Multiple Notification http://www.pushwoosh.com/enable-multiple-notifications-in-android/

Used pushManagerObj.setMultiNotificationMode(); for enabling multi notification mode.

I am getting Multiple Notifications in the notification bar, however only latest notification data is available. Is their any way to get particular notification data?

Thanks in advance

This question is marked "community wiki".
asked 27 Feb '14, 07:34
mahesh_w's gravatar image

mahesh_w
1115

edited 27 Feb '14, 07:35

Hello,

Am I correct that you are referring to Custom data?

Actually, the normal behaviour is that you can press any notification, and the Custom data would be successfully delivered. So, most probably, there is something wrong with the code of the application.

Aside from that, please note that at the moment Pushwoosh supports only PhoneGap 3.0 and above, so if you are using an outdated version, it might cause the issue.

permanent link
answered 05 Mar '14, 10:25
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev
3.7k7

@ Dmitry Dyudeev: Yes, you are right. I am referring to custom data. Using cordova-2.2.0.jar library and cordova-2.2.0.js file in project.

I searched for downloading cordova 3.0 or above jar file but didn't got any reference. Can you please provide link for downloading latest cordova jar and js file.

permanent link
answered 06 Mar '14, 12:55
mahesh_w's gravatar image

mahesh_w
1115

edited 06 Mar '14, 12:56

How to get the notification data when application is running in background and even if user dont click the notification ?

permanent link
answered 24 Sep '14, 08:23
rajisprince's gravatar image

rajisprince
1

@Dmitry Dyudeev: Using latest PhoneGap version solved my problem.

Added following line in Android code

pushNotification.setMultiNotificationMode(); // pushNotification - Pushnotification Plugin Object

permanent link
answered 24 Sep '14, 09:36
mahesh_w's gravatar image

mahesh_w
1115

I tried your solution but its not working.

Saving to window.localStorage works if the app is already open when the notification arrives, but when the app is closed those methods will not get called. This will only happen if the user taps on the notification, which then opens the app.

Is there a way to save notification data to the app's localStorage even if the user dismisses the incoming push notification?

A work-around would be to store all notifications on a server and make the app retrieve them on opening, but I don't want to make the app slower by making unnecessary requests.

permanent link
answered 24 Sep '14, 09:40
rajisprince's gravatar image

rajisprince
1

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:

×447
×165

question asked: 27 Feb '14, 07:34

question was seen: 4,485 times

last updated: 24 Sep '14, 09:40