-1

I am using Parse-Server cloud code to send FCM notifications to client.

However, I have not found a way to prevent notifications from stacking in my device's notification list.

The solution in a regular FCM setting is to set a tag. Android FCM - how to show only one notification I tried setting tag: "my_tag" in my cloud code but it had no effect.

Does Parse-Server support the ability to only send one notification without previous ones from stacking on each other?

KENdi
  • 7,576
  • 2
  • 16
  • 31
grantespo
  • 2,233
  • 2
  • 24
  • 62

1 Answers1

1

Try adding:

{
  notification: {
    tag: 'my_tag'
  }
}
Davi Macêdo
  • 2,954
  • 1
  • 8
  • 11