GCM push & application process

旧城冷巷雨未停 提交于 2020-01-06 13:15:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!