ZhukV/AppleApnPush

Create queue list

ZhukV opened this issue · 4 comments

Create queue list

Hello,

Thanks for the bundle, do you know when this feature will be added to the bundle?

Thx

Very soon.
If you need to send a notification from the list, you can use loop foreach from array and control exception:

// Create manager notification
//....
foreach ($messages as $mess) {
  try {
    $manager->sendMessage($mess);
  } catch (SendException $e) {
    print 'Error:' . (string) $e;
  }
}

For send push notification from queue, please use https://github.com/ZhukV/AppleApnPushQueue library

Queue list has been moved to this package. Package apple/apn-push-queue has been removed.

See demo: /demo/queue/*