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

fix: state break on channel prop update #2957

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

isekovanic
Copy link
Contributor

🎯 Goal

This PR addresses this GH issue.

Essentially, we were wrapping the copying of the channel state from our LLC in a ref which was never updated, thus resulting in an issue whenever we don't explicitly unmount and then remount the Channel component.

Although it is not very common behaviour to have this working like explained on mobile devices, it is very common on tablets for example where we're aiming for more of a web-like behaviour.

🛠 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

SDK Size

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

@isekovanic isekovanic merged commit 51893bb into develop Feb 19, 2025
4 of 5 checks passed
@isekovanic isekovanic deleted the fix/state-break-on-channel-prop-update branch February 19, 2025 09:02
@github-actions github-actions bot mentioned this pull request Feb 19, 2025
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 6.6.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