Hi,

I use Unity 5.3.1p1 Android pro and have trouble receiving push notifications when application is closed.

I've implemented the unity sdk into my project as guided in the documentation and the push notifications are working as intented when application is running (foreground or background).

However, when application is closed the push notification isn't forwarded on device, and I get these two lines in logcat:

I/GCM     ( 4714): GCM message com.mycompany.myapp 0:1461231919236355%4a78057bf9fd7ecd
W/GCM-DMM ( 4714): broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.mycompany.myapp (has extras) }

This is my AndroidManifest.xml

Am I missing something in the manifest or is it even possible in the first place to receive push notifications when the application closed?

If I'm missing something from the qusetion or you need further information, please let me know

asked 21 Apr '16, 11:42
Tobiski's gravatar image

Tobiski
112

Be the first one to answer this question!
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
×111
×88
×11

question asked: 21 Apr '16, 11:42

question was seen: 1,956 times

last updated: 21 Apr '16, 11:42