Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline mode resets channels list #2021

Open
pelczark opened this issue May 24, 2022 · 4 comments
Open

Offline mode resets channels list #2021

pelczark opened this issue May 24, 2022 · 4 comments
Assignees
Labels
🐞 Bug An issue or PR related to a bug 🌐 SDK: StreamChat (LLC) Tasks related to the StreamChat LLC SDK

Comments

@pelczark
Copy link

pelczark commented May 24, 2022

What did you do?

In my app user has over 100 channels with a single user. I'm using the default UI from StreamChatUI.
Channels list is paginated. I scroll down to the bottom to see f.e. 80th channel.
I encountered two issues:

  1. When the internet connection is lost and then is reconnected again, then I try to load more pages, the channel list scrolls up, and I see only the first channels page (20 channels).
    2. When I open the 80th channel details screen, turn on and off flight mode, and try to send a new message the red indicator shows up. I long press the message and press "Try again" without success.

What did you expect to happen?

  1. The channels list shouldn't scroll up and user should be able to see the 80th channel.
    2. User should be able to send a message when connection is regained.

What happened instead?

  1. Channels list scrolls up, only first 20 channels are visible.
    2. The message cannot be sent.

GetStream Environment

GetStream Chat version: 4.15.0
GetStream Chat frameworks: StreamChat, StreamChatUI
iOS version: 15.4.1
Swift version: 5
Xcode version: 13.3.1
Device: iPhone 11 Pro

@polqf
Copy link
Contributor

polqf commented May 25, 2022

HI @pelczark,

Thank you for opening this ticket.

The first issue is known, and it is currently not a priority. We'll let you know when this changes.

The second one is unknown, and should not happen. Let me come back to you after I investigate it. Is there any particular thing you are doing to reproduce it?

@polqf polqf added the 🔎 Investigating This issue is currently being investigated (Not reproducible yet) label May 25, 2022
@hugobernalstream
Copy link
Contributor

Hi @pelczark,

After a first investigation of 2. with the details you provided, I wasn't able to reproduce the issue you mention. I was able to properly resend the message after turning airplane mode off, regaining connection and long-pressing the failed message to resend it.

Is it possible for you to send a video reproducing the issue?
Have you tried to reproduce the issue in our DemoApp?
Is there any customization you are adding around ChatChannel?

@pelczark
Copy link
Author

pelczark commented May 30, 2022

Hi @polqf @hugobernalstream . I retested 2 using the newest library and it is working. Apologies, It didn't work in the older version.

@polqf
Copy link
Contributor

polqf commented May 30, 2022

That's great to hear! We'll keep you posted on 1 as it is not in our roadmap now

@polqf polqf closed this as completed May 30, 2022
@polqf polqf reopened this May 30, 2022
@polqf polqf added 🐞 Bug An issue or PR related to a bug and removed 🔎 Investigating This issue is currently being investigated (Not reproducible yet) labels May 30, 2022
@nuno-vieira nuno-vieira added the 🌐 SDK: StreamChat (LLC) Tasks related to the StreamChat LLC SDK label Nov 30, 2022
@polqf polqf reopened this Dec 19, 2022
@GetStream GetStream deleted a comment from nuno-vieira Dec 19, 2022
@nuno-vieira nuno-vieira reopened this Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug An issue or PR related to a bug 🌐 SDK: StreamChat (LLC) Tasks related to the StreamChat LLC SDK
Projects
None yet
Development

No branches or pull requests

5 participants