Skip to content

v3.2.0

Compare
Choose a tag to compare
@bang9 bang9 released this 03 Nov 07:51
· 163 commits to main since this release
dd02958

3.2.0 (2023-11-03)

Release notes

  • Add chat init params to chatOptions in SendbirdUIKitContainer props.

  • Add reaction.onPressUserProfile to SendbirdUIKitContainer props.

  • Add scrollToMessage to GroupChannelContexts.MessageList.

  • Add Voice message

    const App = () => {
      return (
        <SendbirdUIKitContainer
          uikitOptions={{
            groupChannel: {
              enableVoiceMessage: true,
            },
          }}
          platformServices={{
            recorder: RecorderService,
            player: PlayerService,
          }}
        />
      );
    };

    Before using it, you should implement the RecorderService and PlayerService platform services.

    You can implement this easily by using helper functions.

    • CLI
      • Install react-native-permissions and react-native-audio-recorder-player.
      • Create platform services using createNativeRecorderService and createNativePlayerService.
    • Expo:
      • Install expo-av
      • Create platform services using createExpoRecorderService and createExpoPlayerService.
  • Fix the display of a message unavailable text if the message is not accessible.

  • Fix the search for messages within an accessible range.

  • Fix the usage of color variants in unknown group channel messages.

  • Fix the ensure that the UIKit configuration is always initialized, even in offline mode.

Changelogs

Features

  • add chat init params to chatOptions (7742853)
  • add createRecordFilePath method to FileServiceInterface (0b7fd40)
  • add reaction.onPressUserProfile to SendbirdUIKitContainer props (379bcce)
  • add scrollToMessage to group channel contexts (df48e2c)
  • add string set for microphone permission (9e9c2e1)
  • add string set for muted and frozen when sending a voice message (0c8d1f5)
  • add voice message config to uikit container (6f5de2c)
  • add yalc for local deployment (7778d67)
  • foundation: add audio icon (366d6af)
  • foundation: add progress bar component (af6a2fb)
  • foundation: add voice message input color set (b94d230)
  • foundation: implement voice file message component (f6d90db)
  • foundation: update icons (85d7d58)
  • implement cli player service (b136de4)
  • implement cli recorder service (e05cf93)
  • implement recorder and player service for expo (851ec0e)
  • implement voice message input (9e6bc75)
  • implement voice message logic (337d022)

Bug Fixes

  • await onClose for voice message input before displaying permission alert (62ef277)
  • CLNP-983: display a message unavailable text if the message is not accessible (e38512a)
  • CLNP-983: search for messages from an accessible range (b025f7f)
  • foundation: fixed to use color variant in unknown group channel message (1b8576a)
  • reset player and recorder if input closed with back button press (e8e43ec)
  • UIKIT-4452: uikit configuration should always be initialized (1e539bb)

Improvements

  • lift up the flatListRef to the provider and created MessageList context (4a6efdc)