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

restrict notifications #1

Closed
kururu-abdo opened this issue Oct 12, 2021 · 2 comments
Closed

restrict notifications #1

kururu-abdo opened this issue Oct 12, 2021 · 2 comments

Comments

@kururu-abdo
Copy link

i have multi user types in my app say customer and pharmacist
so the scenario : assume that someone have to accounts , one for customer and another as pharmacist , when logged as customer i want to receive just a customer notifications and when logged as pharmacists just show notifications of the pharmacists

how to handle this?

@patoliavishal
Copy link
Owner

You can send notification with user type. If your user is customer then send notification with customer type and pharmacist then send pharmacist type. Based on that you can handle notification in two different type of login. Or you can use subscription topic method.

@patoliavishal
Copy link
Owner

Hopefully, your issue has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants