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

How to Send Topic messages #31

Closed
claudiocleberson opened this issue Aug 8, 2017 · 4 comments
Closed

How to Send Topic messages #31

claudiocleberson opened this issue Aug 8, 2017 · 4 comments

Comments

@claudiocleberson
Copy link

Hi,

I quick question, I couldn't find any way to Send notification to a specific topic. is there any way to do that?

"to": "/topics/general",
"data": {
"message" : "my",
"other_key" : true,
"body":"teste number 3"
},
"notification" : {
"title" : "FCM Message",
"body" : "Still getting pushs",
"content_available" : true
},
"priority": "high"

@xtrinch
Copy link
Owner

xtrinch commented Aug 8, 2017

That is a feature yet to be implemented. Open to pull requests, otherwise will get to it when I have more time :)

@Bartvds
Copy link

Bartvds commented Sep 20, 2017

Any word on this? Seems quite an important part of FCM.

I see PyFCMhas support for topics (https://github.com/olucurious/PyFCM/blob/20be33c28fa485068165c424eb178eba553b889c/pyfcm/fcm.py#L189), so does this need anything more then a wrapper in fcm_django/fcm.py ?

@xtrinch
Copy link
Owner

xtrinch commented Sep 20, 2017

Yeah, a wrapper should be enough.

@xtrinch
Copy link
Owner

xtrinch commented Apr 4, 2018

Resolved in 0.2.18

@xtrinch xtrinch closed this as completed Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants