GetStream / stream-chat-react-native

πŸ’¬ React-Native Chat SDK ➜ Stream Chat. Includes a tutorial on building your own chat app experience using React-Native, React-Navigation and Stream
https://getstream.io/chat/sdk/react-native/
Other
975 stars 325 forks source link

[πŸ›] Not able to customize the error icon when sending the message fails #2199

Closed khushal87 closed 1 year ago

khushal87 commented 1 year ago

Issue

Not able to customize the error icon when message sending fails.

Describe your issue here

Currently, there are no ways to customize the error component which is shown on the UI when the message sending is failed because of internet issues or related issues.

Steps to reproduce

Steps to reproduce the behavior:

  1. Turn off your internet connection
  2. Send a message/image to a chat
  3. The error icon will be visible
  4. Try to customize the component using the code. There's no way to do it.

Expected behavior

Should be able to customize the component.


Project Related Information

Customization

Click To Expand

```typescript jsx # N/A ```


Offline support


Environment

Click To Expand

#### `package.json`: ```json # N/A ``` **`react-native info` output:** ``` OUTPUT GOES HERE ``` - **Platform that you're experiencing the issue on**: - [x] iOS - [x] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`stream-chat-react-native` version you're using that has this issue:** - `e.g. 5.4.3` - Device/Emulator info: - [ ] I am using a physical device - OS version: `e.g. Android 10` - Device/Emulator: `e.g. iPhone 11`


Additional context


Screenshots

Click To Expand

![Screenshot 2023-07-24 at 12 08 22](https://github.com/GetStream/stream-chat-react-native/assets/39884168/dd602531-6183-46c9-a87e-c1369bd8540a)


stream-ci-bot commented 1 year ago

:tada: This issue has been resolved in version 5.21.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: