Send notification to multiples users with SDK
We would like to send an email notification to a group of subscribers. We are using topics for that (the group of subscribers could be different each time).
Repro steps:
Repro steps:
- Creating a topic
- Adding subscribers
- Trigger notification (to: topic)
- Removing subscribers
- Removing the topic
We observed that point 3 only registers notifications to send, and if we start removing subscribers and topics immediately after triggering notifications, emails are not sent to anybody.
What is your recommendation? How should we send notifications to multiple users at once? How to implement that in a proper way (with topics or triggering messages in a loop per subscriber?)?