Skip to content

PushManager resends sent Pushes #178

@red-led

Description

@red-led

This code will send same message twice:

    ...
    $pushManager = new PushManager(PushManager::ENVIRONMENT_DEV);
    $push = new Push($gcmAdapter, $devices, $message);
    $pushManager->add($push);

    $pushManager->push();
    $pushManager->push();

Is it expected behavior or bug? PushManager can't be reused to send another batch of messages?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions