1

As per the Firebase Notification docs:

Notification messages are always collapsible.

I was trying to figure out if they have some intrinsic collapse_key. And if so, does that count towards the collapse_key limit of 4 per device?

AL.
  • 36,815
  • 10
  • 142
  • 281
Animesh Jain
  • 125
  • 1
  • 6

1 Answers1

2

You are correct. All the notifications sent from the Web Console are collapsible.

Which means they have an implicit collapse_key

If a device has a pending-to-be-delivered messages from the Web Console,
this implicit collapse_key counts towards the limit of 4 per device.

Diego Giorgini
  • 12,489
  • 1
  • 47
  • 50
  • There seems to be a bug about that. In my case, when the device is offline and then gets back online, I receive all notifications that have the same `collapse_key`. Not just 4 of them. Please check my question https://stackoverflow.com/questions/44552291/fcm-notifications-and-collapse-key – steliosf Jun 15 '17 at 15:42
  • @MScott please contact firebase support with more information to help the firebase team debugging it. – Diego Giorgini Jun 18 '17 at 00:36
  • It looks like the implicit collapse key is currently the package name of the app. – Kato Jun 20 '17 at 19:31