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

conversations.list() / listAll() do not have consistent behavior across android and iOS #277

Open
cameronvoell opened this issue Feb 20, 2024 · 0 comments
Labels
beta Related to Beta branch bug Something isn't working

Comments

@cameronvoell
Copy link
Contributor

cameronvoell commented Feb 20, 2024

Describe the bug

list() and listAll() methods for conversations returns in Chronological order for iOS and reverse Chronological order for Android

Note this issue is specifically when using the list and listAll method to list conversations. listAll for groups correctly returns in reverse chronological order on both Android and iOS.

Expected behavior

I believe that iOS should return in reverse chronological order for list() and listAll() functions

Steps to reproduce the bug

See the two tests:

https://github.com/xmtp/xmtp-react-native/pull/273/files#diff-4b96887b4344b96a5d9e30cad1e87d74d6d9eab735f00c9c0cbad5e976f1ccb4R283-R400

@cameronvoell cameronvoell added the bug Something isn't working label Feb 20, 2024
@cameronvoell cameronvoell added the beta Related to Beta branch label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Related to Beta branch bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant