I'm trying to build a background service for notifications to run and show notifications even if the app is not in memory
but the issue, after a period of time the broadcast service i'm using, disconnects after like 8 minutes and i'm not able to…
I'm trying to integrate pusher chatkit and I'm curious of a couple of things:
1) is there a way to get a readout of the status of a specific room similar to when you join a room...or get denied from a room. Here's an example below when you join a…
problem :
socket connects successfully and its status is 101. but doesn't get any data on event call.
note : everything works perfectly on local server.
Alt-Svc: h3-24=":8443"; ma=86400, h3-23=":8443"; ma=86400
CF-Cache-Status: DYNAMIC
CF-RAY:…
I am using Channel broadcasting with laravel and vue.js in order to have all user online and offline.
I have installed the package correctly and configured pusher params according to laravel documentation.
In my vue component I wrote following to…
I am trying to trigger a pusher event but it's not working.
class SendWaitingForRedirect implements ShouldBroadcast
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $message;
public function __construct($message)
…
I have a react App that passes to a SlotMachine component when it senses an API hit (using Pusher for publish-subscribe).
It should only rotate() once per API hit, however, as you can see in my output it invokes rotate() multiple times and says…
please can you help me.
My scheme of files is:
var/www/turnerosac --> files base projects
/var/www/html/turnerosac --> files public
When executing the command:
/usr/bin/php /var/www/turnerosac/artisan websocket:serve
Throw the following message in…
I'm building a support chat application. It's built on Laravel Echo through Pusher.js.
There are two sides - support/admin and client. When a client starts a chat, support can accept it and they can chat together. It's working like it should be, but…
I want to implement a private messaging chat using pusher PHP/JS API.
I need some help to setup a private channel and an auth endpoint with php, it's not clear from the docs if there is a default way to manage the users authentication for private…
I am building a php/javascript application which allows each individual user to connect to their private channel, e.g., private-channel.userID
The user is authenticated through the following authentication endpoints, see the code below.
However,…
I'm trying to trigger an event with pusher but returns Error.
I can listen but when I try to trigger doesn't work, this how I'm trying:
const channel = pusherClient.subscribe('channel');
channel.trigger('event', {
name: 'John',
age: 20
});
I am trying to build a Pusher-driven app (Angular + node.js). I am holding an in-memory db (array of objects that are subject to CRUD). What would be the good practice to send the list of objects/ids to a new user?
Say, I have initialization in…
I am new to PusherJS and developing a real-time chat app using PHP. Everything working fine but when I press enter to send message, it append it in sender's box and into receiver's box also. How I can differentiate it on the basis of session or…
Trying to send user list to specific users after a friend requests been made.using pusher,vuejs 2.6,laravel 5.7 but in my function the broadcast its not getting triggered
when i do dd in channel it works! also in the construct function. so im kind…