Questions tagged [pusher-js]

The javascript client library of Pusher

The repository of pusher-js can be found here: https://github.com/pusher/pusher-js

201 questions
0
votes
1 answer

Channel is not defined. Laravel, Push notifications pusher

I'm using pusher for push notifications in my laravel production web with cloud server. It's was working on localhost, then stopped working on localhost too and giving the error in console that channel is not defined. Header:
Shariq Shaikh
  • 179
  • 1
  • 8
0
votes
0 answers

Laravel5.8 Pusher Event 500 İnternal Server Error

I tring add a chat extension to my web site , watched very much video lesson, Laravel and Pusher using user. Normally website is working broadcasting(new MyEvent('my-event')); but if I add line -before return line- , giving 500 Internal Server…
0
votes
0 answers

TypeError: echo.subscribe is not a function

I am using laravel echo server with pusher in react native. When I create a new pusher without laravel echo it works fine and I can listen on channels like: import Pusher from 'pusher-js/react-native'; const pusher = new…
Sohaib
  • 1,972
  • 3
  • 9
  • 19
0
votes
1 answer

Laravel Pusher VueJS http://localhost:8000/broadcasting/auth 404 (Not Found)

I'm trying to implement right now in my project a real time notification ui using laravel broadcast. I already made it work by broadcasting on a public channel but once I switched on to a private channel, the error POST…
0
votes
0 answers

Not displaying the content while broadcasting with pusher in Laravel

I am developing a live chat app with Laravel 7 and Pusher as broadcast driver. And i am facing a weird problem because its broadcasting an empty object, but in my console I am receiving the right object/comment. indexComponent.vue: