New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not receiving notification 1.3.1 #135
Comments
I don't know why but I got this too, maybe the temporarily workaround is to stay with the old version of this package. |
Same here, 1.3.0 not working |
I had to revert to 1.3.0 as well, looking into what changed in 1.3.1 now |
I also had to change the listener to: |
I resolved this using namespace option. In my case it: Event: Echo instance: In component: Documentation: |
Same here. Right after the update. I suspect it caused by this commit. |
this got fixed in v1.3.2 |
@msonowal @taylorotwell or maybe not. The dot notation is not working for us in 1.3.2. We've reverted to 1.3.0 for it to work. Alternatively using the escaped backslashes as suggested by @sietzekeuning also works. Any advice on this? |
@carlcassar : does it help? #147 |
there's an hour i'll never get back :( running 1.3.2 and it's not fixed, in the sense that my app with dot notation needed to be changed to escaped slashes thanks @sietzekeuning for the solution |
@carlcassar i reverted to 1.3.0 an i have the same problem. Which version should i use? |
I found that broadcast notification is passed on the default channel, which is named by the namespace of notifiable entity model. So i solved the problem by customizing the notification channel. reference link, and the code:
Hoping to help someone. |
I'm still having the same issue using laravel echo version 1.8.0 |
thanks veryfull!! |
After I updated to v1.3.1 it my echo on client side not working i.e. I was listening to private channel
on notification which is not getting executed.
which was working fine previously. below is the code
Echo.private('user.' + User.id)
.notification((notification) => {
console.debug('Notification received ', notification);
});
but after digging for sometime if I do something like this I can get the event but it feels dirty
.listen('Illuminate\\Notifications\\Events\\BroadcastNotificationCreated', (e) => {
console.log('Event Notification received ', e)
})
and here is my EchoInstance
const EchoInstance = new Echo({
broadcaster: 'socket.io',
host: window.location.hostname + ':6001',
namespace: 'booking_app.Events',
});
The text was updated successfully, but these errors were encountered: