Skip to content

Sending message in bulk raising GCM error when it should not #683

Open
@sauravkhakurel

Description

@sauravkhakurel

The docs of the package state that GCM Error is not raised when using bulk notifications. But the error is raised when I send bulk notifications using the following code from which I am not able to calculate the number of devices that the notification was delivered to.

devices = GCMDevice.objects.filter(user__in=users)
result = devices.send_message(
            notification.notification_text, tag=uuid4().hex, extra=extra
        )

Is there any possible fix for this? Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions