Android: 8.1.0 Device: Infinix X604B
Problem: Using "Notification Composer" in Firebase console to send notification to my signed release app. Things works when my app is in foreground / background. When I close app by swapping it out from open app list, notifications sent are not received.
I get following in my logcat:
2019-01-18 12:22:21.758 2015-11920/? I/ActivityManager: Killing 15197:com.tsp.fcm/u0a148 (adj 900): remove task
2019-01-18 12:22:21.831 2015-2108/? W/InputDispatcher: channel '92faa4f com.tsp.fcm/com.tsp.fcm.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
2019-01-18 12:22:21.831 2015-2108/? E/InputDispatcher: channel '92faa4f com.tsp.fcm/com.tsp.fcm.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2019-01-18 12:22:21.831 2015-2151/? I/WindowManager: WIN DEATH: Window{92faa4f u0 com.tsp.fcm/com.tsp.fcm.MainActivity} 2019-01-18 12:22:21.832 2015-2151/? W/InputDispatcher: Attempted to unregister already unregistered input channel '92faa4f com.tsp.fcm/com.tsp.fcm.MainActivity (server)'
2019-01-18 12:22:21.837 2015-3498/? V/ActivityManager: Dying proc: com.tsp.fcm,pid:15197 was not allowed to restart.
2019-01-18 12:22:37.405 2015-2030/? D/ProcessManager.AS: *** Skip {com.tsp.fcm} to receive broadcast.
2019-01-18 12:22:37.406 2015-2030/? D/BroadcastQueue: *** Not launch app com.tsp.fcm/10148 for broadcast Intent { act=com.google.android.c2dm.intent.RECEIVE flg=0x11000010 pkg=com.tsp.fcm (has extras) } from com.google.android.gms/10020.(AutoStart limited)
2019-01-18 12:22:37.413 2727-2727/? W/GCM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.tsp.fcm (has extras) }