Open brunoluiz opened 4 years ago
Do you see the messages in the console saying "now listening for realtime...."
Can you add the userId
prop to the FlatFeed component.
I'm having the same issue.
I do see now listening to changes in realtime for...
.
Passing userId
didn't help.
On the backend I'm doing removeActivity
and the feed is not updated until I refresh the page. It seems like removeActivity
for some reason is not notyfing Feed.
Using 0.10.4
.
yeah it's not live updating for removeActivity, only on new activities(which wil show the "you have X new activities" banner). For others you wil have to refresh, which is intended behaviour.
@jaapbakker88 how should I know "in browser" when activity was deleted on server (let's say another user deleted it)?
We also have this issue. After spending weeks setting up a full fledged integration with getstream.io, we find that the feed is not updated for removeActivity, which renders our whole integration useless. Not sure why this would be "intended behaviour", but since it is, there needs to be a way for the component to detect the change in the feed data and trigger the refresh.
Since getstream people seem to be unresponsive, here's what we did to solve this issue. Whenever an activity is deleted, there is actually a websocket communication sent:
You can listen for this data stream and reload the component to show the updated feed.
Hope this helps someone that has the same issue we did. Shame on getstream for their non-existing support even for paid accounts.
I'm running into this issue as well. When a user's page isnt cached within NextJS it listens for new changes, but navigating back to a subsequent user's feed after caching it does not trigger. I was hoping there would be a manual way to go about this.
Are there any update on this yet? I'm also have this isssue
We are using the following code for one of our flat feeds. It doesn't seem to be receiving data from our web socket, as it never renders the
Notifier
component when we push new activities to the stream.Dependencies:
Am I missing something on this setup?