Skip to content

send_notification_multiple stopped working suddenly #181

Open
@contacitltd

Description

@contacitltd

I have been using the send_notification_multiple function for quite some time, but it has stopped working yesterday.. When I add more than one notification to the frame, the messagses are not delivered to the devices (when there is only one notification in the frame, it does work).
As I used this for a long time before it recently stopped working, i can only suspect Apple has changed something in the API?

For reference, here is my code:

identifier = 3
expiry = time.time()+(3600*24*7)
priority = 10
payload = Payload(alert="test message", sound="default", badge=1, custom={"update":"news"})
frame = Frame()
for reg_id in reg_ids:
   frame.add_item(reg_id, payload, identifier, expiry, priority)
self.apns.gateway_server.send_notification_multiple(frame)

Has anyone experienced a similar issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions