public function routeNotificationForApn(): string
{
return $this->apn_token;
}
/**
* Get the notification in APN format.
*
* @param $notifiable
* @return \KingsCode\LaravelApnsNotificationChannel\Message
*/
public function toApn($notifiable): Message
{
return (new Message())
->setTitle('title')
->setBody('body');
}
public function via($notifiable): array
{
return [ApnChannel::class];
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.