Notification is not received when my application is in closed state.
Notification is not received on my mobile when i closed my application at the time app is not in foreground or background
10-05 23:00:28.255 19837-19837/? W/GCM-DMM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.ancient.tradingsignals (has extras) }
Should get the notification
I have followed basic snippets of FCM sample
Have you seen issue #4? There is a lot of discussion on this. The short answer is that you should not expect FCM notifications when your app is in the killed state, the long answer is reading that thread :smile:
Why you guys closing threads without providing a proper response!
Whenever the app is swipe closed from recent app list, we are getting this message in the log instead of a valid payload in the firebase notification handler
W/GCM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=* (has extras) }
Any updates?
Same log when app is in background
broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=* (has extras) }
Most helpful comment
Why you guys closing threads without providing a proper response!
Whenever the app is swipe closed from recent app list, we are getting this message in the log instead of a valid payload in the firebase notification handler
W/GCM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=* (has extras) }