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 messages are in random order #15

Open
SAMYAK99 opened this issue May 13, 2020 · 4 comments
Open

Chat messages are in random order #15

SAMYAK99 opened this issue May 13, 2020 · 4 comments

Comments

@SAMYAK99
Copy link

Even after adding this -
final messages = snapshot.data.documents.reversed;
Chat messages are in random order

@ParagSaini
Copy link

Unable to get the chat message in order, even after deleting the firebase database and doing -
snapshot.data.documents.reversed;
and setting reverse : true, in ListView, still getting chat messages in random orders.
please help to resolve this issue.

@satyaroutray1
Copy link

@ParagSaini @SAMYAK99 You may check this thread for the solution https://stackoverflow.com/a/61517928/5370639

@meshubhama01
Copy link

try adding timestamp after clearing the collections at firebase

@sulavchhetri
Copy link

try adding timestamp after clearing the collections at firebase

how exactly bro? Can you explain in detail please? I'm kinda new in programming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants