I have one scenario in which case I can't get the data of a push notification into my app. When I send one out and my app is closed, I'd like the data in the app when I open my app again (for instance after 5 minutes or so).

Is this possible? And if so, how can this be achieved with the Cordova library?

Thanks

asked 23 Jun '14, 07:36
pierot's gravatar image

pierot
213

I have the same issue. I would like to see the last Push message in the app, when the user has not clicked on the push message itself.

For example, I do sent a push to the user. User ignores it, but opens the app directly. Then I would like to show the last sent push and its corresponding Rich HTML Page.

Any solution to do this?

Thank you.

permanent link
answered 14 Oct '14, 09:12
Ralph's gravatar image

Ralph
212

Are there any solutions for this problem?

permanent link
answered 14 Jul '14, 09:11
Daniel%20Toplak's gravatar image

Daniel Toplak
212

I need to do the same thing... are there any answers to this question?

permanent link
answered 14 Nov '14, 16:55
nertopia's gravatar image

nertopia
111

This is not possible for iOS at all. On Android it is possible and as a highly requested feature it will be a part of the updated SDK (should be available tomorrow or the day after).

permanent link
answered 24 Nov '14, 09:42
shader's gravatar image

shader
3.9k7

Update is here. The plugin 3.4.2 is out.
It features experimental getPushHistory() / clearPushHistory() methods for Android only (!!!)
By calling this methods you can receive a JSONArray of pushes that has arrived to the app. Only last 10 pushes being kept. Don't forget to call clearPushHistory as you fetch the array.

permanent link
answered 25 Nov '14, 13:25
shader's gravatar image

shader
3.9k7

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
×353
×190

question asked: 23 Jun '14, 07:36

question was seen: 1,464 times

last updated: 25 Nov '14, 13:25