You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Converse syncs all messages for all conversations locally on the phone (so you can access your messages offline)
To do so, for performance reasons (some people have thousands of conversations) we don't call conversation.messages() for each conversation, but we use client.apiClient.batchQuery and send many topics to get back messages from many conversations at once, then we decode the envelopes ourselves (open issue xmtp/xmtp-js#315 to be able to do it without decoding the envelopes ourselves btw)
This does not seem to be possible in the React Native SDK.
More : calling conversation.messages() seems to return max 100 messages (while the JS SDK returns everything and handles the pagination etc)
Is your feature request related to a problem?
Converse syncs all messages for all conversations locally on the phone (so you can access your messages offline)
To do so, for performance reasons (some people have thousands of conversations) we don't call
conversation.messages()
for each conversation, but we useclient.apiClient.batchQuery
and send many topics to get back messages from many conversations at once, then we decode the envelopes ourselves (open issue xmtp/xmtp-js#315 to be able to do it without decoding the envelopes ourselves btw)This does not seem to be possible in the React Native SDK.
More : calling
conversation.messages()
seems to return max 100 messages (while the JS SDK returns everything and handles the pagination etc)Describe the solution to the problem
Multiple solutions possible:
Also,
conversation.messages()
should return all messages, not just 100Describe the uses cases for the feature
Mostly mobile apps to sync all convos
Additional details
No response
The text was updated successfully, but these errors were encountered: