Hi experts,

I am a beginner in pushwoosh. I am doing notification using android native. But how can I handle the received notification when clicked on it? Right now it happened to ask users to choose apps to open and it will open the link from pushwoosh.

I want to change it to, click the notification and it will open new activity displaying the message from nofitication.

Please help me

Thanks

asked 19 May '15, 05:16
nikfaris88's gravatar image

nikfaris88
1112

Hello,

In order to set a custom behaviour of receiving notifications you can create a custom intent service inherited from our "PushGCMIntentService", as it described in our Guide (see Step 7 and below):

https://www.pushwoosh.com/programming-push-notification/android/native-android-sdk-integration/

If you need to handle custom notifications from your server, you should create a class extended from com.arellomobile.android.push.PushGCMIntentService, and include this custom intent service under the “PW_PUSH_SERVICE” tag in your manifest file.

permanent link
answered 20 May '15, 08:19
Max%20Kuzakov's gravatar image

Max Kuzakov
4165

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
×445
×37

question asked: 19 May '15, 05:16

question was seen: 5,758 times

last updated: 20 May '15, 08:19