PyFCM icon indicating copy to clipboard operation
PyFCM copied to clipboard

How should we send notifications to multiple tokens with the updated API?

Open sgserg opened this issue 8 months ago • 16 comments

Attempting to use async_notify_multiple_devices yields

Traceback (most recent call last):
   ...
   ...
  File "/usr/local/lib/python3.6/dist-packages/pyfcm/fcm.py", line 81, in async_notify_multiple_devices
    return self.send_async_request(payloads=payloads, timeout=timeout)
TypeError: send_async_request() got an unexpected keyword argument 'payloads'

sgserg avatar Jun 20 '24 12:06 sgserg