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

data_message or data - field in send_message() #2

Closed
gauravvjn opened this issue Aug 23, 2016 · 1 comment
Closed

data_message or data - field in send_message() #2

gauravvjn opened this issue Aug 23, 2016 · 1 comment

Comments

@gauravvjn
Copy link

https://github.com/xtrinch/fcm-django
in readme, it is
device.send_message(title="Title", body="Message", icon=..., data_message={"test": "test"})

https://github.com/xtrinch/fcm-django/blob/master/fcm_django/models.py
but when I look at the code, I dont see any data_message field instead i see data.

Can you please update whichever is wrong?

@xtrinch
Copy link
Owner

xtrinch commented Aug 23, 2016

Whoops, typo(s) in readme. With "data" it should be working. I will fix readme, let me know if "data" works for you.

@xtrinch xtrinch closed this as completed Sep 10, 2016
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