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
When switching between the production, development, and local environments of XMTP, cached conversations can become out of sync, especially when conversations between the same wallets exist in more than one environment.
Describe the solution to the problem
The solution is to add another key to the caching DB that tracks which network is being used.
Describe the uses cases for the feature
When developing with the React SDK, it's common to switch between networks for testing purposes. This usually means developers have to clear the local DB in order to get conversations in sync. With this change, the conversation cache will always be in sync with whatever environment is being used.
Additional details
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
When switching between the production, development, and local environments of XMTP, cached conversations can become out of sync, especially when conversations between the same wallets exist in more than one environment.
Describe the solution to the problem
The solution is to add another key to the caching DB that tracks which network is being used.
Describe the uses cases for the feature
When developing with the React SDK, it's common to switch between networks for testing purposes. This usually means developers have to clear the local DB in order to get conversations in sync. With this change, the conversation cache will always be in sync with whatever environment is being used.
Additional details
No response
The text was updated successfully, but these errors were encountered: