Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Topics and device groups #46

Open
paulincai opened this issue Oct 18, 2021 · 0 comments
Open

Implement Topics and device groups #46

paulincai opened this issue Oct 18, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@paulincai
Copy link
Contributor

I see two main uses:

  1. A user may have multiple devices registered for Push. Subscribe them to a topic named with the userId so that I can send 1 single Notification to a Topic instead of pulling all tokens and send 1 by 1.
  2. I may follow a hashtag or a subject in a social app (e.g. cars, tennis). I want to send those notifications without querying my DB for which users follow various interests. The point is that I can query Firebase for free while I also store the info with my Mongo.

https://firebase.google.com/docs/cloud-messaging/js/send-multiple

@paulincai paulincai added the enhancement New feature or request label Oct 18, 2021
@paulincai paulincai self-assigned this Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant