Do GCM CCS Upstream Messages force a re-connection to the GCM network?

前端 未结 2 1083
-上瘾入骨i
-上瘾入骨i 2021-01-14 04:15

I am having some issues with GCM push notifications not arriving properly on Android devices. After days of research I found out, that Android Devices use a heartbeat to kee

2条回答
  •  盖世英雄少女心
    2021-01-14 04:51

    I tested this and it doesn't seem so. But you can force Android to send a regular notifications heartbeat by sending the following broadcast intents:

    com.google.android.intent.action.MCS_HEARTBEAT
    com.google.android.intent.action.GTALK_HEARTBEAT
    

    I got this from the Push Notification Fixer app on Google Play (I'm not the developer). https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer.noroot

提交回复
热议问题