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:
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…
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…
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…
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:
…
I am working with Laravel 7 with Vue.js and Laravel-echo.
I already installed the Laravel Echo library using npm install --save laravel-echo pusher-js in my application and also included the following code in resources/assets/js/bootstrap.js file as…
I had some difficulties finding out why my events are not "triggered" in the frontend (Laravel Echo + Pusher) with my application being deployed through Laravel Vapor, even though it was working out perfectly locally.
Pushers debug console was…
I'm trying to make a reactjs application where an user can only login to one device at the time with the same user credentials. Unfortunately it isn't working.
I'm trying to authenticate a presence channel with reactjs to laravel but I get a 302…
I am following this link to create a collaborative drawing application. i am able to run application but collaborative drawing is not happening. I have successfully created PUSHER_APP_ID, PUSHER_KEY, PUSHER_SECRET & placed in .env.
Collaborative…
I know that we can bind pusher event like this
useEffect(() => {
var channel = pusher.subscribe('my-channel');
channel.bind('my-event', function(data) {
alert(JSON.stringify(data));
});
},[]);
But i can't find any ways to unbind…
I have my chat application ready using plain javascript and pusher Chatkit. Now I want to send files or images in chat in the message. how to achieve this feature.
I have a problem with my react app. I use pusher and I recently faced with a problem, that Pusher auto disconnects after a couple hours of inactivity:
Laptop was closed for a couple hours, then I opened it again (token was still valid) and saw:
Any…
I have a Laravel project that uses jQuery and PusherJS. When I press a button I make an ajax call and create a CSV file that triggers an ExportHasFinished event. This event broadcasts the results to JS using Pusher. In the frontend, I see a card…
I'm using Pusher for real chat application.
I've created a web app and a mobile app using Ionic 4.
The app use private channels, and everything works well on web enviroment.
During development i've tested the Ionic app on browser (ionic serve)
and…