You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to send a data message to the subscribers of a topic. This is my code:
result = push_service.multiple_devices_data_message(condition="'mytopic' in topics", data_message=data)
I get this error:
File "/.../venv/lib/python3.5/site-packages/pyfcm/fcm.py", line 305, in multiple_devices_data_message for registration_ids in registration_id_chunks:
File "/.../venv/lib/python3.5/site-packages/pyfcm/baseapi.py", line 65, in registration_id_chunks for i in xrange(0, len(registration_ids), self.FCM_MAX_RECIPIENTS):
TypeError: object of type 'NoneType' has no len()
How can I send a data message to a topic with this method?
The text was updated successfully, but these errors were encountered:
I am trying to send a data message to the subscribers of a topic. This is my code:
I get this error:
How can I send a data message to a topic with this method?
The text was updated successfully, but these errors were encountered: