stream-chat-react-native
stream-chat-react-native copied to clipboard
feat: support file_size config in file and image upload
๐ฏ Goal
The goal of the PR is to support file_size image and file config such the file size exceeding the limit cannot be uploaded. The limit can be controlled or set from the dashboard. The default is 100 MB in the SDK.
There are a couple of improvements to how app settings are fetched on mounted and improving the code of existing file config.
๐ Implementation details
๐จ UI Changes
iOS
| Before | After |
Android
| Before | After |
๐งช Testing
โ๏ธ Checklist
- [x] I have signed the Stream CLA (required)
- [x] PR targets the
developbranch - [ ] Documentation is updated
- [x] New code is tested in main example apps, including all possible scenarios
- [x] SampleApp iOS and Android
- [x] Expo iOS and Android
All the suggestions are added @myandrienko @santhoshvai. Thanks ๐
:tada: This PR is included in version 5.31.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: