Skip to content

Conversation

@isekovanic
Copy link
Contributor

@isekovanic isekovanic commented Jun 10, 2025

🎯 Goal

This PR should fix 2 things:

  • Unreliable visibility of the unread message notification (especially when sending longer messages that would take the last read message out of the viewport)
  • Display of the unread message overlay when message sending is delayed (for example, if we send 5-6 consecutive videos which would take time to upload in the offline case)

The general idea is that if the length of the message list changes after the initial time the notification was rendered, we can safely assume that we're present in the channel and do not need to see the notification. Marking a message as unread should still work as intended.

Should also fix this Zendesk ticket.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Jun 10, 2025

SDK Size

title develop branch diff status
js_bundle_size 459 KB 459 KB 0 B 🟢

@isekovanic isekovanic merged commit 69bbbe6 into develop Jun 11, 2025
6 checks passed
@isekovanic isekovanic deleted the fix/unread-notification-and-underlay-bugs branch June 11, 2025 07:53
@github-actions github-actions bot mentioned this pull request Jun 23, 2025
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 7.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants