xtrinch / fcm-django

FCM Django: Send push notifications via django to websites, iOS & android mobile devices through FCM (Firebase Cloud Messaging)
http://fcm-django.readthedocs.io/
MIT License
775 stars 196 forks source link

data_message or data - field in send_message() #2

Closed gauravvjn closed 8 years ago

gauravvjn commented 8 years ago

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 commented 8 years ago

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