Closed neokofg closed 1 month ago
A few things to note here:
notify
method has no return value, so that is expected.public function routeNotificationForFcm(): array
{
return $this->devices()->pluck('token')->toArray();
}
To debug this you may want to add an event listener on the NotificationFailed
event or just add some dd
s in the channel to see what responses your app is receiving.
Ty, it was curl problem
Hello, i'm trying to send message to client:
it doesn't send anything and returns this:
my Notification
my user have routeNotificationForFcm, and its normally returns device token:
i connected FIREBASE_CREDENTIALS normally