Page MenuHomePhabricator

Make FCM CheckEcho messages collapsible
Closed, ResolvedPublic

Description

Our use case of sending nudges to clients to check for new Echo messages suggests we should make these messages collapsible. Info on [1]:

A collapsible message is a message that may be replaced by a new message if it has yet to be delivered to the device. [...] Common use cases of collapsible messages are messages used to tell a mobile app to sync data from the server. [...] Only the most recent message is relevant.

We should set the appropriate parameter in message requests: collapseKey for messages to Android.

[1] https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages

Event Timeline

bearND created this task.Jun 1 2020, 9:20 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 1 2020, 9:20 PM
bearND updated the task description. (Show Details)Jun 1 2020, 9:21 PM
bearND renamed this task from Make FCM messages collapsible to Make FCM CheckEcho messages collapsible.Jun 1 2020, 10:38 PM
bearND updated the task description. (Show Details)

Change 601579 had a related patch set uploaded (by BearND; owner: BearND):
[mediawiki/services/push-notifications@master] Collapse FCM CheckEchoV1 messages

https://gerrit.wikimedia.org/r/601579

Change 601579 merged by jenkins-bot:
[mediawiki/services/push-notifications@master] Collapse FCM CheckEchoV1 messages

https://gerrit.wikimedia.org/r/601579

MSantos closed this task as Resolved.Jun 25 2020, 3:09 PM