I using an android plugin for Unity3d. It works fine, but i want to recieve push notifications only when the application is closed or not focused. So, how am i do that?

asked 22 Sep '14, 05:53
andreykhorkov's gravatar image


edited 22 Sep '14, 06:55

As far as I understand all you have to do is ignore push notifications that comes when the app is in foreground. onStart parameter in the push payload should has true/false value set correspondingly.

permanent link
answered 25 Sep '14, 15:51
shader'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](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:


question asked: 22 Sep '14, 05:53

question was seen: 877 times

last updated: 25 Sep '14, 15:51