Broadcast notifications doesn't popup #13403
Replies: 2 comments 4 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
I had also trouble with it, but managed to make it work. This was my setup with reverb. reverb.php return [
];
` .env VITE_REVERB_APP_KEY="${REVERB_APP_KEY}" echo.js import Pusher from 'pusher-js'; window.Echo = new Echo({ From commands i used And check what network tab under "ws" says |
Beta Was this translation helpful? Give feedback.
-
Package
Panel builder
Package Version
v3.2.82
How can we help you?
Hi guys
I'm having a hard time getting broadcast notifications working with Pusher. I have tried with and without
composer require filament/notifications:"^3.0-stable" -W
even though it also states in the documentation that it is bundled with the Panel builder.Pusher actually sends the messages but they never popup.
I have already read this issue here: #10163 but the solution doesn't work for me.
I'm running a job in queue with the following code:
Notification::make() ->title("#{$id} : CREATED on Monta") ->body($response->body()) ->icon('heroicon-o-check-circle') ->iconColor('success') ->sendToDatabase($user) ->broadcast($user);
My filament config looks like this:
` 'broadcasting' => [
Is there anything I am missing?
Beta Was this translation helpful? Give feedback.
All reactions