-
Hi , I set up push notifications according to the docs in my flutter applications, so when I test it up using stream Cli ,I receive the notification and it also works when the app on the background but I don't receive anything when the app is closed and also nothing shows on the dashboard logs ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the solution for that , the problem was that I used channel.watch(); instead, I should also add the user to the channel channel.addMembers(["thierry", "josh"]); in order to receive push notifications as it is mentioned in the docs Watchers vs Members The concepts of watchers vs members can require a bit of clarification:
Being able to send messages, and otherwise engage with a channel as a non-member requires certain permissions. For example, we have pre-configured permissions on our livestream channel type to allow non-members to interact, but in the messaging channel type, only members of the channel can interact. |
Beta Was this translation helpful? Give feedback.
I found the solution for that , the problem was that I used channel.watch(); instead, I should also add the user to the channel channel.addMembers(["thierry", "josh"]); in order to receive push notifications as it is mentioned in the docs
Watchers vs Members
The concepts of watchers vs members can require a bit of clarification:
Being able to send messages, and otherwise engage with …