twilio / twilio-chat-demo-android

Chat API Demo Application for Android
MIT License
62 stars 51 forks source link

Unable to fetch Channel data #116

Closed niliyam closed 4 years ago

niliyam commented 4 years ago

Description

I am able to create the Chat Client successfully. After doing this, i am trying to get the channels. But i am not getting the channels instantly. Also if i do get the channels, i am not getting the channel attributes.

If i wait for 5-10 seconds, then this data comes successfully.

I have tried to implement a ProgressDialog, but am not able to because the ChatClientListener methods do not get called. onClientSynchronization() method never gets called.

How do i handle this?

Reproduces how Often

95%

Chat Android SDK

4.2.6

Android API

28

Android Device

LG G7 ThinQ+

niliyam commented 4 years ago

Hi Any update on this ??

rusmonster commented 4 years ago

Hi!

  1. Please clarify what do you mean not getting the channels instantly? Getting channels first time after creating a client required network request which takes some reasonable time.
  2. not getting the channel attributes on time is known issue. Current ETA to deliver a fix is one month.
  3. Please provide debug log with your case when onClientSynchronization() method never gets called. (Call ChatClient.setLogLevel(LogLevel.VERBOSE) before creating a client to enable logging)
berkus commented 4 years ago
  1. Channel attributes are fixed in release 4.2.9.