Open boscoseries opened 4 years ago
I encountered this issue. You have to fill out the application_id column in the push_notifications_gcm table in your database.
I did that. Did yours get solved with it?
Yes, it solved it for me. But I am sending only to a single user and not an entire topic.
Yes, it solved it for me. But I am sending only to a single user and not an entire topic.
I can send to a single and multiple devices via the device.send_message
method and it works. It is only when I try to send to users subscribed to my topics (see the directive in the screenshot) that I get that error.
from the documentation here https://github.com/jazzband/django-push-notifications
when I do as stated above, I get this error
I look up the send_message function in site-packages, it is defined like this def send_message(registration_ids, data, cloud_type, application_id=None, **kwargs)
then I modify my arguments to send_message to contain my cloud_type and application_id thus:
I then get this error
here is my settings: