Questions tagged [sendbird]

Relates to question targeting the SendBird chat and messaging service API.

SendBird is a complete chat platform for your mobile apps and websites: Chat and Messaging SDKs and API, and a fully managed chat infrastructure. SendBird has no issues scaling from two users to an audience of millions.

Resources

136 questions
1
vote
1 answer

SendBird ChannelHandler onMessageReceived is not called on Android

I just started using SendBird on Android. I want to make 1-in-1 chat, so I connected users to SendBird, set the handler, created channel and sent a message, however, the onMessageReceived is not working. See the code below: var handler = object :…
sunflower20
  • 469
  • 3
  • 8
  • 20
1
vote
0 answers

FCM doesn't work when my App is in "App Standby mode"

I'm building an Android App that implements a chat using the Sendbird service. Sendbird uses the FCM (Firebase Cloud Messaging) to send the notifications of a new messages received when the App is in background. All works fine if the Android Energy…
1
vote
1 answer

Gradle downloading "Sendbird android github library" every time

I am using Sendbird android SDK in my project(https://docs.sendbird.com/android). Its library is hosted on GitHub, the problem is every time I change in gradle it takes 15-20 minutes to compile and it shows it is downloading so many files. My…
Harish Gyanani
  • 1,366
  • 2
  • 22
  • 43
1
vote
0 answers

Error in sending file(blob) to SendBird react-native chat

I am trying to send an image or txt file in chat. I am using SendBird react-native sdk (https://docs.sendbird.com/javascript). FilePickerManager.showFilePicker(null, (response) => { console.log('Response = ', response); if…
Rahul Gupta
  • 116
  • 6
1
vote
1 answer

Sendbird error. Command received no ack

I got Command received no ack. error after calling sendUserMessage function. Does anybody know the possible reason?
Skiminock
  • 139
  • 1
  • 11
1
vote
2 answers

SendBird - Channel list query filtered by date of last change (property updatedAt)

I'm trying to persist my channel list locally, so I need to find out a way to query only channels that has been updated after my last "activity". Group Channel has lastMessage property, which indicates when last message (if it exists) was received.…
Thomás Pereira
  • 9,589
  • 2
  • 31
  • 34
1
vote
2 answers

Deserialize Sendbird message CreatedAt data

I am trying to get the dates of the message send date in String format from sendbird messages, but don't know how to deserialize the messages. currently I am just getting a mess of numbers like follows: 1506267806611 I currently store the…
Drew
  • 1,341
  • 3
  • 13
  • 18
1
vote
1 answer

create 1 on 1 channel SendBird using swift

I am trying to create a one on one channel connection, however I am not able to figure out the format for creating an SDBUser. I am doing the following to try and create the channel. SBDGroupChannel.createChannelWithUsers([("123456", "1234567"],…
dgelinas21
  • 641
  • 3
  • 9
  • 22
1
vote
0 answers

Sendbird stay logged in on page refresh

So I've implemented SendBird in my website (I'm using the javascript version 3.0, the sendbird widget) and like it says in the README.md file, users have to log in every time the browser (the page) is refreshed. I wanted to change that and I read…
Kevin
  • 59
  • 1
  • 10
1
vote
1 answer

SendBird not working with Ionic2/Angular2

For one of my projects i needed to embed messaging functionality, i choose to go with SendBird as their documentation is good and supporting major platforms.After installing SendBird messaging sdk when i tried to import sendbird in my typescript…
mobigaurav
  • 194
  • 1
  • 2
  • 14
1
vote
0 answers

The SendBird.addChannelHandler in Android doesn't work while implementing receive messages

The following code is written in onResume and is implementing the receive message functionality of SendBird API protected void onResume() { super.onResume(); Log.d("----->", "in on resume"); SendBird.addChannelHandler("ABCD" , new…
1
vote
3 answers

Storing SendBird channel list - Android

We're making an app that will have some chat functionality and we're using the SendBird Android SDK to achieve this. When the user logs in, we query SendBird for that user's GroupChannels, this returns a list of channels that the user is currently…
TheLoy
  • 183
  • 1
  • 3
  • 12
1
vote
2 answers

Sendbird not pushing notifications on iOS

I've followed the docs and have successfully registered for push notifications with Sendbird (uploaded .p12 dev certificate + register device token with Sendbird SDK, etc) but am not getting any notifications. func application( application:…
Tuan Anh Vu
  • 760
  • 1
  • 7
  • 26
1
vote
3 answers

Adapter-Showing view only when there is a change in a value

Below is my complete adapter class of sendbird chatting.Currently date with time is displayed with every message.viewHolder.getView("left_time") and viewHolder.getView("right_time") are views for displaying date with time and it is calculated in…
Android Developer
  • 9,157
  • 18
  • 82
  • 139
1
vote
1 answer

on Sendbird How to fetch all the rooms in open chat message?

We are looking at this api. https://api.sendbird.com/admin/list_messaging_channels with our payload: { "auth": APP_TOKEN, "id": userid, } but the response is always. [0] is there something else we missed with the api? We can't find something…