Can I modify the push notification to go to specific page in the app made in phonegap when a notification is received?

For example, a notification appeared in the status bar, the user taps it and it opens the app and goes to "about us" screen. Can the link also come from pushwoosh and not embedded in the code?

asked 04 Jun '14, 03:30
clintgh's gravatar image

clintgh
3115

edited 04 Jun '14, 03:39

As we have already discussed with Clint in a support ticket, the Custom data feature would do the trick. It allows to send a "key":"value" pair (please see screenshot attached) for application to process when user taps on the notification.

For instance, in our Android demo application (you can download it in Google Play), you can change the background color with the following custom data: { "r" : "0 - 255", "g" : "0 - 255", "b" : "0 - 255" }

permanent link
answered 04 Jun '14, 11:10
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev
3.7k7

edited 05 Jun '14, 06:27

Como funciona eso. No entendí. Hay algún titutorial

permanent link
answered 26 Nov '14, 02:21
newmesis's gravatar image

newmesis
263

Please try to write in English if possible. Thanks!

(26 Nov '14, 04:41) shader shader's gravatar image

you explain how this works you? there is a tutorial?.

(26 Nov '14, 13:07) newmesis newmesis's gravatar image

Basically you retrieve custom data and open the page accordingly. We are working on the guide/example for this!

(28 Nov '14, 09:58) shader shader's gravatar image

Hi please, how do I determine if the app is running or not running while handling push notifications? What event does clickingt a notification fire?

permanent link
answered 26 Feb '15, 18:12
dakayinkeys's gravatar image

dakayinkeys
1

This is also a question I am trying to find an answer to. A guide would be great! How do I get it to load my app after clicking the notification? by default it goes to the web rather than opening the app.

permanent link
answered 16 Jul '15, 14:47
kcdyer's gravatar image

kcdyer
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:

×447
×353
×111
×10

question asked: 04 Jun '14, 03:30

question was seen: 4,994 times

last updated: 16 Jul '15, 14:47