-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from sendbird/release/3.4.0
chore(SDKRLSD-1099): release 3.4.0
- Loading branch information
Showing
17 changed files
with
64 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,4 @@ | ||
## v3.3.0 | ||
## v3.4.0 | ||
|
||
- Add typing indicator bubble feature. | ||
|
||
`TypingIndicatorBubble` is a new typing indicator UI that can be turned on through `typingIndicatorTypes` option. | ||
When turned on, it will be displayed in `GroupChannelMessageList` upon receiving typing event in real time. | ||
|
||
```tsx | ||
import { SendbirdUIKitContainer, TypingIndicatorType } from '@sendbird/uikit-react-native'; | ||
|
||
const App = () => { | ||
return ( | ||
<SendbirdUIKitContainer | ||
uikitOptions={{ | ||
groupChannel: { | ||
typingIndicatorTypes: new Set([TypingIndicatorType.Bubble]), | ||
}, | ||
}} | ||
/> | ||
); | ||
}; | ||
``` | ||
|
||
- Add `bottomSheetItem` to the props of renderMessage. | ||
|
||
`bottomSheetItem` is a new prop for `renderMessage` that can be utilized to add a custom item to the bottom sheet of a message. | ||
It can be used to add a custom menu item to the bottom sheet of a message. | ||
|
||
```tsx | ||
import { GroupChannelMessageRenderer } from '@sendbird/uikit-react-native'; | ||
import { useBottomSheet } from '@sendbird/uikit-react-native-foundation'; | ||
|
||
const GroupChannelScreen = () => { | ||
const { openSheet } = useBottomSheet(); | ||
|
||
const onOpenMessageMenu = () => { | ||
if (!props.bottomSheetItem) return; | ||
|
||
openSheet({ | ||
...props.bottomSheetItem, | ||
sheetItems: [ | ||
// Update bottomSheetItem.sheetItems or append your custom menu item | ||
...props.bottomSheetItem.sheetItems, | ||
{ icon: 'search', title: 'Search', onPress: () => console.log('Search') }, | ||
], | ||
}); | ||
}; | ||
|
||
return ( | ||
<GroupChannelFragment | ||
renderMessage={(props) => { | ||
return ( | ||
<GroupChannelMessageRenderer {...props} onLongPress={() => onOpenMessageMenu(props.bottomSheetItem)} /> | ||
); | ||
}} | ||
/> | ||
); | ||
}; | ||
``` | ||
|
||
- Fix the not found `Promise.allSettled` error in Hermes. | ||
- Fix the vertical alignment of iOS TextInput. | ||
- Implemented a zoomable image viewer into FileViewer. | ||
- Changed the horizontal and vertical padding of TextInput to padding with directions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters