Closed Kovah closed 5 years ago
Hi Kovah,
You need to set an application token first, see: https://github.com/laravel-notification-channels/pushover#setting-up-your-pushover-account
Hi. The application token is set in the config as described in the setup guide. The Pushover channel works fine for the laravel-backup package, but not for my own implementation using the Notification facade.
Hi @Kovah,
Were you able to fix the issue? :)
I did not work a lot on the corresponding project, but can't remember solving this. However, seems I used regular notifications for the tasks, so this may be closed.
Hi there! I am pretty new to Laravel Notifications so I may also have missed a point.
I saw that notifications can be sent on-demand and wanted to do this in my application with the Pushover channel. Thing is, that I do want to send myself a notification; a single user token is supplied via the .env file as I do not want to store one single key in the database or somewhere else.
So, I thought I could just do something like
but I get the following error:
Sound like the token is not being handed to the Pushover Channel or something?
However, using the Pushover channel for the laravel-backup package works fine, which uses a custom notifiable class that has just a
routeNotificationForPushover
method:What am I doing wrong? :/