Questions tagged [chatkit]

Chatkit is designed to make it as simple as possible to add chat to your app. It lets you add 1-1 and group chat to your app, along with typing indicators, file attachments and storage, user online presence and a flexible permissions system.

34 questions
1
vote
0 answers

Pusher Chatkit in Vue - onNewMessage hook triggered twice?

I have a Vue.js application using the Pusher Chatkit. I have a problem I haven't been able to find an answer for some time now. Whenever I re-visit a view/component the Chatkit onNewMessage() hook is triggered multiple times. It depends on the…
KasparTr
  • 2,328
  • 5
  • 26
  • 55
1
vote
1 answer

Pusher ChatKit - rooms and roomSubscriptions - how to detect new messages

Recently I implemented Pusher ChatKit in my Vue project. I have gone over the js documentation but I a confused over the flow of initiating the app so that I have active listeners for new messages. I have 5 rooms that the currentUser is part of.…
KasparTr
  • 2,328
  • 5
  • 26
  • 55
1
vote
1 answer

React - Object accessible throughout component

So I'm attempting on using chatkit and they have the connnect function that we use. However I'm trying to get the currentuser object, so I can use it in other functions. However, the object is always undefined and function is also undefined. I'm…
Someone Special
  • 12,479
  • 7
  • 45
  • 76
0
votes
1 answer

I can't CastType of class

I can't cast this please help, It is the same class name with android view.View and com.stfalcon, but I can't change the class name to any of those because it is READ_ONLY_file, how can I cast this? I need to cast this >>>>> this.messagesList =…
Kneelon
  • 239
  • 3
  • 12
0
votes
0 answers

Chat application like Slack tutorial

I am following this tutorial here: https://www.youtube.com/watch?v=a-JKj7m2LIo I got stuck around the 14 minute mark getting the following error message in the terminal: (node:6248) UnhandledPromiseRejectionWarning: RangeError…
John Beasley
  • 2,577
  • 9
  • 43
  • 89
0
votes
1 answer

How to send document or images in group using plain javascript pusher chatkit

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.
adi
  • 25
  • 3
0
votes
1 answer

Not able to pass down an object to history.push()

Basically, I have an object name as currentUser generated from chatkit server. This object contains all the information as well as some methods of currently logged in user. I want to pass this object as a prop to another component. I tried passing…
0
votes
1 answer

Pusher Chatkit Android get status readout of specified room

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…
Cflux
  • 1,423
  • 3
  • 19
  • 39
0
votes
1 answer

Android Kotlin For Loop only runs once

I'm having issues with my recycler view adapter. Only one item gets loaded to it being added from a for loop and i cant figure out why. All of my log statements indicate that numerous items are intended to be loaded but it stops loading after…
Cflux
  • 1,423
  • 3
  • 19
  • 39
0
votes
1 answer

Android Kotlin Pusher Chatkit not loading all rooms in recycler view

I'm trying to view all already joined rooms in pusher chatkit recycler view however it doesn't seem to be working. It only loads one room after I scroll. When I open the activity, it shows blank. Also, when I click on the room, the intent isn't…
Cflux
  • 1,423
  • 3
  • 19
  • 39
0
votes
1 answer

Android pusher Chatkit create user

I've begun implementing pusher Chatkit to my first android App and am running into the problem of automatically creating users on the server for Chatkit. I've followed the getting started page where it tells me I can either go on to the console or I…
Cflux
  • 1,423
  • 3
  • 19
  • 39
0
votes
1 answer

ReactJS Chatkit is not defined

I made some progress on the tutorial found here: https://www.youtube.com/watch?v=6vcIW0CO07k But I got stuck around the 19 minute mark. Basically, the tutorial is to build a Instant Messenger application using React and Chatkit. I am receiving a…
John Beasley
  • 2,577
  • 9
  • 43
  • 89
0
votes
2 answers

React app on Heroku cannot make a POST request

I+m playing with the Chatkit API, and when running a React app in my local machine everything seems to work fine, but when I pushed it to Heroku, every time it tries to do a POST request through the server, it gives Failed to load resource:…
0
votes
2 answers

How to fix " Cannot read property 'sendMessage' of undefined" react chat system

I am building a chat system with react and chatkit. I have a function called sendMessage in App.js that sends whatever the user type in the sendMessage Form to display it in the MessageList Component. this is App.js import Chatkit from…
0
votes
1 answer

fetch request from react to express not working

My fetch route from react to express shows a 404 not found error. Here is the code on the client deleteRoom(roomId){ console.log('this is the current user in delete room', this.state.currentUser); fetch('http://localhost:3001/deleteRoom',…