LostFCM Messages on Mobile Data: Investigating the 1680s Heartbeat Issue
in Post with 0 comment

The Firebase Cloud Messaging (FCM) system generally excels at automatically adjusting heartbeat cycles based on network connectivity. This adaptation ensures efficient message delivery even when messages are infrequent. Illustration 303_5G and NCUWLAN in the provided image exemplify this auto-adjustment, demonstrating heartbeat cycles of 230s and 1070s respectively, both functioning smoothly.

However, when switching to mobile data, FCM apparently locks the heartbeat cycle to a fixed 1680 seconds. This fixed interval frequently leads to missed messages, requiring workarounds like FCM fix to manually adjust the heartbeat. Unfortunately, directly adjusting the heartbeat with FCM fix also modifies the cycle on Wi-Fi, forcing me to set it to the minimum Wi-Fi heartbeat (230s) to ensure consistent message reception across both networks. While this resolves the primary issue, it results in increased battery consumption.

To mitigate this predicament, I am investigating manual adjustments to the mobile data specific heartbeat cycle. Knowing the file responsible for this configuration would be immensely helpful. Could you guide me on which file governs the 1680s heartbeat cycle on mobile data?

The article has been posted for too long and comments have been automatically closed.