Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat application hangs once we continuously send messages #103

Open
swarupa-v opened this issue Jan 30, 2023 · 2 comments
Open

Chat application hangs once we continuously send messages #103

swarupa-v opened this issue Jan 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@swarupa-v
Copy link

Hello,

We were developing chat application using flyer chat with firebase. We are facing an issue when sending a new messages when there are many messages present in the chat thread. We are using stream-builder to display real time messages.
As soon as we send the message, stream builder loads the messages again and it leads to memory leak. Eventually it leads to screen freezing due to memory leak. This happens when we keep sending messages continuously.

@swarupa-v swarupa-v added the bug Something isn't working label Jan 30, 2023
@demchenkoalex
Copy link
Member

Hello! Currently I don't have much time to work on open source, you can help me debug and open a PR, thanks

@swarupacs
Copy link

When we call this function FirebaseChatCore.instance.sendMessage it slows down may be because all messages are fetched again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants