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
Describe the bug
We are deleting messages from our server using your API
But on the Android app they are still visible, probably because of some cache
The only way to make them disappear is to clear storage and cache from the Android Settings
iOS SDK seems to be working fine, the messages are disappearing without the need to do anything
SDK version
5.15.0
To Reproduce
Steps to reproduce the behavior:
Send messages with user A
Using the Android app and the default chat UI components of the SDK open the channel where those messages are on
Using the API do a HardDelete of the messages of user A (see code we are using below)
Notice that the Android app still shows the messages. You could close the app and open it again but messages still there
Expected behavior
After deleting the messages using the API the android UI components should delete those messages (maybe delete them from cache?)
Device:
Vendor and model: Pixel 5
Android version: 12
Backend code, using Go, that deletes the user and their messages
_, err = s.client.DeleteUsers(ctx, []string{user.StreamUserID}, stream.DeleteUserOptions{
User: stream.HardDelete,
Messages: stream.HardDelete,
})
The text was updated successfully, but these errors were encountered:
Hello @mararzu
A lot of improvements have been made on our v6 release, some of them related to the cache/db the SDK uses internally to keep the state of the list of messages.
The issue you reported should be fixed on this version.
Could you check it?
This issue has been automatically closed because there has been no response to our request from the original author. Please don't hesitate to comment on the bug if you have any more information for us - we will reopen it right away! Thanks for your contribution.
Describe the bug
We are deleting messages from our server using your API
But on the Android app they are still visible, probably because of some cache
The only way to make them disappear is to clear storage and cache from the Android Settings
iOS SDK seems to be working fine, the messages are disappearing without the need to do anything
SDK version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After deleting the messages using the API the android UI components should delete those messages (maybe delete them from cache?)
Device:
Backend code, using Go, that deletes the user and their messages
_, err = s.client.DeleteUsers(ctx, []string{user.StreamUserID}, stream.DeleteUserOptions{
User: stream.HardDelete,
Messages: stream.HardDelete,
})
The text was updated successfully, but these errors were encountered: