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

asked 24 Sep '14, 09:17
rajisprince's gravatar image


For Android you have to create a java class that extends and implement overrided method onMessage() and then add the class as meta-data of PW_PUSH_SERVICE in AndroidManifest.xml file.

permanent link
answered 31 Jan '15, 01:45
badzia's gravatar image


Thank you for your answer.

Although I forgot to specify that I am using Phonegap platform for development.

So for the phonegap how to achieve this ?

permanent link
answered 31 Jan '15, 05:12
rajisprince's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 24 Sep '14, 09:17

question was seen: 966 times

last updated: 31 Jan '15, 05:12