xmtp / xmtp-react-native

A package you can use to build with XMTP in a React Native or Expo app.
MIT License
41 stars 19 forks source link

Bug: streamMessages and streamAllMessages stop streaming message after short period of time #306

Closed WilliamYWY closed 7 months ago

WilliamYWY commented 7 months ago

Describe the bug

streamMessages and streamAllMessages work fine when constantly sending messages. However if idle for about 15 seconds (no message in and out), both streams will stop streaming new messages.

https://github.com/xmtp/xmtp-react-native/assets/92711171/38202605-83da-46db-81f3-d0e0a1a1027f

Expected behavior

No response

Steps to reproduce the bug

No response

nplasterer commented 7 months ago

Thanks for reporting. We've looking into it. Hope to have a fix by EOD.

nplasterer commented 7 months ago

This should be fixed in the latest version 1.29.2. Thanks again for reporting.

WilliamYWY commented 7 months ago

Hi, I just updated the package, but I think the problem still remains.