Subscribe to topic? #4685
Unanswered
BStenfors9119
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am currently trying to implement cloud messaging using topics.
I can successfully subscribe and receive messages but my problem arises when I send a message to a topic the device isn't subscribed to. The device still receives the message!!
Maybe it's how I am creating the topics?
I have tried the following:
React Native Client side:
NodeJS Server side:
I am trying to have multiple topics so I am dynamically generating them like so:
topic = `game_request.${ID}`
Would the "." cause an issue possibly?
TIA,
Bryan
Beta Was this translation helpful? Give feedback.
All reactions