Skip to content

fix: expo clipboard and extend with cb api - #3758

Merged
isekovanic merged 2 commits into
developfrom
fix/clipboard-for-expo
Aug 6, 2026
Merged

fix: expo clipboard and extend with cb api#3758
isekovanic merged 2 commits into
developfrom
fix/clipboard-for-expo

Conversation

@isekovanic

Copy link
Copy Markdown
Contributor

🎯 Goal

Resolves this Zendesk ticket.

πŸ›  Implementation details

expo-clipboard has changed their API from the synchronous setString to the asynchronous setStringAsync. Our optional dependency for this exact purpose was never really updated and so copying messages did not work whenever using stream-chat-expo.

In this PR we address that.

Additionally, I noticed that a confirmation/failure snackbar was missing from the clipboard feature and so we add one as well. Since changing to an async API is technically breaking, we'll rely on the success/failure callbacks for now and update this in the next major. We anyway want to get rid of the dependencies to these super small libraries and keep them inhouse.

Will be backported to V8 as well.

🎨 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
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 1990 KB 1991 KB +393 B 🟑

@isekovanic
isekovanic merged commit 2534581 into develop Aug 6, 2026
10 checks passed
@isekovanic
isekovanic deleted the fix/clipboard-for-expo branch August 6, 2026 15:09
@isekovanic isekovanic mentioned this pull request Aug 6, 2026
6 tasks
isekovanic added a commit that referenced this pull request Aug 6, 2026
## 🎯 Goal

Backport of [this
fix](#3758) to
V8.

## πŸ›  Implementation details

<!-- Provide a description of the implementation -->

## 🎨 UI Changes

<!-- Add relevant screenshots -->

<details>
<summary>iOS</summary>


<table>
    <thead>
        <tr>
            <td>Before</td>
            <td>After</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <!--<img src="" /> -->
            </td>
            <td>
                <!--<img src="" /> -->
            </td>
        </tr>
    </tbody>
</table>
</details>


<details>
<summary>Android</summary>

<table>
    <thead>
        <tr>
            <td>Before</td>
            <td>After</td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <!--<img src="" /> -->
            </td>
            <td>
                <!--<img src="" /> -->
            </td>
        </tr>
    </tbody>
</table>
</details>

## πŸ§ͺ Testing

<!-- Explain how this change can be tested (or why it can't be tested)
-->

## β˜‘οΈ Checklist

- [ ] I have signed the [Stream
CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform)
(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
@github-actions github-actions Bot mentioned this pull request Aug 6, 2026
6 tasks
@stream-ci-bot

Copy link
Copy Markdown
Contributor

πŸŽ‰ This PR is included in version 9.7.3 πŸŽ‰

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.

4 participants