问题
I wondered what happens when GCM push has arrived and there is no process alive bound to the application. As you know, a process can be killed from the task manager and also by the system to free-up space. Actually, I tested the case of killing it manually from the task manager and saw no incoming pushes. What about if the system kills the process then ?
Thx in advance.
回答1:
Referring following table we can say that, App will not get Push notification if Forced closed by user manually.
However if App is killed by system in case of low memory, BroadcastReceiver
will get notified and Push notification will be received by device.
Source of comparison table.
来源:https://stackoverflow.com/questions/34725836/gcm-push-application-process