Closed pydlv closed 2 years ago
I may have figured it out. I need to change the values in the cloud_message_type column from GCM to FCM in the push_notifications_gmddevice table.
Faced the same error. @pydlv your comment fixed it so this issue can be closed
I am getting this this error when ever I try to use devices.send_message(). I have not defined MAX_RECIPIENTS anywhere in the config. Doing so doesn't resolve the error.
Here is my config:
and then I try to send a notification to my user using the following code:
and it gives me this error:
django.core.exceptions.ImproperlyConfigured: Application 'app_push_fcm' (FCM) does not support the setting 'MAX_RECIPIENTS'.
Iterating through the devices and sending off a message like below still throws the same error: