I searched like fcm notification is not received when application is in background in Google, I have tried a result specified in one stack overflow post
On Jul 13, 2016 8:07 PM, "Alain Bonnefoy" <[email protected]> wrote: > Hello, > unfortunately, moving data at the end didn't solve my problem ... I think > it's more subtle.... > > About what you read in a blog, when the app is killed by the system, > certainly, but when the application is in background, that's not so clear > to me. > What can I say that I published a version few weeks ago with this same > setting and it perfectly receives data message while in background. > > Is the behavior different now ?? > > > Le mercredi 13 juillet 2016 16:03:13 UTC+2, ramesh babu a écrit : >> >> I am not sure what it is, I had read in a blog that while app is in >> background or killed the data part will not be recieved!!! >> On Jul 13, 2016 7:25 PM, "Alain Bonnefoy" <[email protected]> wrote: >> >>> Additional Info, >>> >>> I looked at the messages with ADM and when I send a message, I can see >>> the following display: >>> >>> >>> 07-13 15:46:34.179: W/GCM-DMM(3997): broadcast intent callback: >>> result=CANCELLED >>> forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 >>> pkg=com.my.example (has extras) } >>> >>> >>> What does it mean? >>> >>> Regards, >>> >>> >>> -- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-developers/1c5b3317-b0e1-4bf7-a6da-45e247312fd8%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/1c5b3317-b0e1-4bf7-a6da-45e247312fd8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CAJ9LBw5Bo-zp3U%3D62cm6rjTdWgZTRJGdEF%2BSZ6iWer5nCOpSsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

