Search code examples
phpiospush-notificationserver-push

Schedule Server iOS Push Notifications


I implemented server side iOS push notifications.

I was wondering if it is possible to schedule server side iOS push notifications just like the local ones?

Something like:

$body['aps'] = array(
    'alert' => $message,
    'sound' => 'default',
        'schedule' =>  ?
    );

Thanks


Solution

  • No you can't. You have to do some logic on your server that it sends the notification at the given time.

    See The Notification Payload @ APNS Docs