-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,670
  • 2
  • 15
  • 27
grantespo
  • 2,001
  • 2
  • 22
  • 56

1 Answers1

1

Try adding:

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