Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Slow Response chat client #27

@ssljivic

Description

@ssljivic

We have a problem with slow Twilio response when we try to retrieve channels and messages using the following Twilio SDK methods:

chatClient.getChannelBySid (channelId)
chatClient.getLocalChannels ({crit: ‘lastMessage’, order: ‘descending’})
channel.getMessages (5)

We are not sure which method creates a problem, but it happens that the entire UI freezes while executing the code section in which these methods are called. We have also tried the Twilio demo application and noticed the same behavior:

https://github.com/twilio/TwilioChatJsReactNative

The performance issue happens even if we try to fetch 10 or 20 messages and can take up to 10 seconds or more.

Can you please help with this issue as it is making the whole application unusable?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions