stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

feat: support file_size config in file and image upload

Open khushal87 opened this issue 9 months ago โ€ข 1 comments

๐ŸŽฏ 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 develop branch
  • [ ] 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

khushal87 avatar May 17 '24 12:05 khushal87