Skip to content

Conversation

@isekovanic
Copy link
Contributor

🎯 Goal

Fixes this issue and this Zendesk ticket.

Due to how assetRepresentationMode: auto works sometimes, files and videos in general increase in size (and if they were just below the threshold of 100MB it is very possible that this tips them over). To make things worse, if the OS does decide that it can provide a better resolution/quality of the video we need to wait for the conversion too (even before being able to figure the size out).

🛠 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 467 KB 467 KB 0 B 🟢

@khushal87
Copy link
Member

This is just the native package implementation of https://github.com/GetStream/stream-chat-react-native/pull/2979/files, right?

@isekovanic
Copy link
Contributor Author

@khushal87 Yes, it is

@isekovanic isekovanic merged commit 897cf9c into develop Mar 13, 2025
5 checks passed
@isekovanic isekovanic deleted the fix/native-image-picker-pick-image branch March 13, 2025 08:30
@github-actions github-actions bot mentioned this pull request Mar 13, 2025
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 6.6.8 🎉

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