Jan 8, 2021
0
Level 10
Laravel Echo never reach listen method
I have implemented Broadcasting and while it works fine when I'm using web browser, it's not working on mobile. I'm testing it via network ip address with port 8000, while on desktop I'm using vapor on localhost.
PublishAppointment is triggered, but it never trigers console log here. Any idea why?
window.Echo.channel('publish-appointment')
.listen('PublishAppointment', e => {
console.log('here', e)
})
Please or to participate in this conversation.