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.
Questions tagged [chatkit]
34 questions
4
votes
1 answer
kotlin.UninitializedPropertyAccessException: lateinit property roomClickedInterface has not been initialized
I am trying to follow Pusher Chatkit's tutorial for "BUILDING A GROUP CHAT APP USING KOTLIN AND PUSHER CHATKIT" however I am running into an issue with the Recycler View adapter. FYI, I am still learning Kotlin. I've been reading up on lateinit vars…

Cflux
- 1,423
- 3
- 19
- 39
4
votes
1 answer
React. Chatkit API. MessageList component bug - rendering messages from other rooms. Component Lifecycle and state
I'm experiencing some strange activity with my Chatkit app built using React. Essentially, I'm testing with two different users in different rooms. When I send a message from a user in one room. The other user is able to see that message, although…

Chris Ngo
- 15,460
- 3
- 23
- 46
2
votes
1 answer
Unable to decode stream: android.graphics.ImageDecoder$DecodeException: Failed to create image decoder with message 'unimplemented'
I've recently tried implementing Pusher's Chatkit into my android app along with some Kotlin plugins and am now running into this error that I cannot resolve.
E/Drawable: Unable to decode stream: android.graphics.ImageDecoder$DecodeException:…

Cflux
- 1,423
- 3
- 19
- 39
2
votes
0 answers
How to correctly implement stfalcon's chatkit
I'm trying to implement a chat app using stfalcon's ChatKit library. I've followed the docs in their repo, but there are things I'm not sure I'm getting right.
First, I created a new activity called DialogsListActivity, and copied the xml in the…

89f3a1c
- 1,430
- 1
- 14
- 24
2
votes
4 answers
ChatKit library : incoming image wrong margins
I'm using ChatKit library (https://github.com/stfalcon-studio/ChatKit/) for a chat feature in my app.
In the message list provided by the library, I also included images messages.
It works fine, but the bubble's layout of the images is ambiguous,…

AnthonyR
- 3,485
- 1
- 18
- 41
1
vote
0 answers
How to blink browser tab on receiving message from other user using pusher chatkit notification
I need plain JavaScript sample code to blink tab when user send message using Chatkit and receiver is not viewing the tab at that time. (Chatkit push notification)

Adwait soni
- 97
- 6
1
vote
1 answer
Android Kotlin Pusher Chatkit - error - Room membership required
I'm trying to integrate chatkit into my Android app grabbing portions of code from this getting started tutorial and this android-public-demo-app project on github and I am getting this error:
D/ChatRoomsActivity: on subscripetoRoomMultipart…

Cflux
- 1,423
- 3
- 19
- 39
1
vote
0 answers
"Pusher chatkit onmessage hook is not responding in Reactjs app"
I am using pusher Chatkit to make a chat application in Reactjs. I have added the hooks property on onSubscribeRoomMultipart function with an onMessage Chatkit hook according to which it will print "received message, message" on console but it is…

Rajani sharma
- 11
- 1
1
vote
0 answers
Chatkit API error: Authentication is required
I am trying to create users though the API in chatkit.
Here is how I create the manager:
const chatManager = new ChatManager({
instanceLocator: instanceLocator,
userId: "Irmantas",
tokenProvider: tokenProvider
…

Irmantas Želionis
- 2,194
- 3
- 17
- 30
1
vote
2 answers
Chatkit: creating new user
I am following tutorial on here: https://docs.pusher.com/chatkit/quick_start/javascript
There is an example how to create user:
const chatkit = new Chatkit.default({
instanceLocator: "YOUR INSTANCE LOCATOR",
key: "YOUR SECRET…

Irmantas Želionis
- 2,194
- 3
- 17
- 30
1
vote
0 answers
Pusher Chatkit Connect Callback in Java
I am trying to implement the Pusher ChatKit from the SDK site: https://docs.pusher.com/chatkit. I prefer to keep my code entirely in Java.
In the examples, there is this code block:
chatManager.connect { result ->
when (result) {
is…

David Davis Jr.
- 35
- 6
1
vote
1 answer
Android library ChatKit not display images
I want display image file after sent. But result is empty message and is displayed on the left side of screen(received side).
This happens with any url set.
image example
My item_list.xml:
user4885652
1
vote
1 answer
Connect to Pusher ChatKit [Swift]
I am attempting to connect to pusher chatkit; however, everytime I attempt the connection I am receiving this response:
"Making attempt 5 of 6 in 16.0s. Error was: Bad response status code received: 401 with error message:…

Turtlenecksweater
- 33
- 4
1
vote
0 answers
How to create an extra message layout in ChatKit library for Android?
I am trying to implement a Interactive Console for one of the Android application. I am using ChatKit for this. Apart from the existing message layouts, I want to use a custom message type,layout & view holder.
This is what I did.
val…

Bharath
- 3,001
- 6
- 32
- 65
1
vote
0 answers
Pusher/Chatkit: InstanceID in the path and access token don't match
What?
I am currently building a react native app with chatkit, however the authentication seems to fail and keeps bringing back the following message: Instance ID in the path and the access token don't match
I'm using Laravel as a backend and have…

Liam Maddison
- 11
- 3