Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sendbird/uikit-react-native

sendbird21.4kSEE LICENSE IN LICENSE.md3.9.5TypeScript support: included

Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

sendbird, uikit, react native, chat, messaging, real-time, UI components, user authentication, channel management, SDK integration, customizable, feature-rich, social app, customer support, gaming, API

readme

@sendbird/uikit-react-native

Platform React-Native Language TypeScript

Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

React-Native based UI kit based on sendbird javascript SDK

Before getting started

This section shows the prerequisites you need to check to use Sendbird UIKit for React-Native.

Requirements

  • Nodejs 14 or newer
  • Watchman
  • JDK 11 or newer
  • XCode
  • Android Studio

More details, please see https://reactnative.dev/docs/environment-setup


Getting started

This section gives you information you need to get started with Sendbird UIKit for React-Native.

Try the sample app

Our sample app has all the core features of Sendbird UIKit for React-Native. Download the app from our GitHub repository to get an idea of what you can build with the actual UIKit before building your own project.

Create a project

You can get started by creating a project. (highly recommended to use typescript)

npx react-native init ChatApp --template=react-native-template-typescript

Install UIKit for React-Native

UIKit for React-Native can be installed through either yarn or npm

Install dependencies

Note: If you are using react-native version 0.71 or lower, you should install @sendbird/react-native-scrollview-enhancer.

npm install @sendbird/uikit-react-native \
            @sendbird/chat \
            date-fns \
            react-native-safe-area-context \
            @react-native-community/netinfo \
            react-native-mmkv

Linking native modules

npx pod-install

Getting permissions

Client apps must acquire permission from users to get access to their media library and save files to their mobile storage. Once the permission is granted, users can send images and videos to other users and save media files.

Android

Add the following permissions to your android/app/src/main/AndroidManifest.xml file.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.your.app">

    <!-- Permissions for voice message -->
    <uses-permission android:name="android.permission.RECORD_AUDIO" />

    <!-- Permissions for attachments -->
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
    <uses-permission android:name="android.permission.CAMERA" />

    <!-- Permissions for notifications (Android 13+) -->
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

</manifest>

iOS

Add the following permission usage descriptions to your info.plist file.

Key Type Value
Privacy - Camera Usage Description string $(PRODUCT_NAME) would like to use your camera
Privacy - Photo Library Usage Description string $(PRODUCT_NAME) would like access to your photo library
Privacy - Photo Library Additions Usage Description string $(PRODUCT_NAME) would like to save photos to your photo library

NOTE: If you use react-native-permissions, you must update permissions and run pod install


Implementation guide

Install a native modules

In order to use the APIs and features of the native module in the UIKit for React Native, you need to implement the platform service interfaces that Sendbird provides. After implementing all the interfaces, you can set them as props of SendbirdUIKitContainer to use the native module features across Sendbird UIKit for React-Native.

const App = () => {
  return (
    <SendbirdUIKitContainer
      appId={'APP_ID'}
      chatOptions={{
        localCacheStorage: MMKV,
      }}
      platformServices={{
        file: FileService,
        notification: NotificationService,
        clipboard: ClipboardService,
        media: MediaService,
        recorder: RecorderService,
        player: PlayerService,
      }}
    >
      {/* ... */}
    </SendbirdUIKitContainer>
  );
};

In order to implement the interfaces to your React Native app more easily, we provide various helper functions for each interface.

NOTE: Helper function is not required! You can implement it with native modules you're using. More details about PlatformService interfaces, please see here

Using React Native CLI

You can use createNativeClipboardService, createNativeNotificationService, createNativeFileService and createNativeMediaService helper functions with below native modules.

npm install react-native-video \
            react-native-permissions \
            react-native-file-access \
            react-native-image-picker \
            react-native-document-picker \
            react-native-create-thumbnail \
            react-native-audio-recorder-player \
            @react-native-clipboard/clipboard \
            @react-native-camera-roll/camera-roll \
            @react-native-firebase/app \
            @react-native-firebase/messaging \
            @bam.tech/react-native-image-resizer

npx pod-install
import Clipboard from '@react-native-clipboard/clipboard';
import { CameraRoll } from '@react-native-camera-roll/camera-roll';
import RNFBMessaging from '@react-native-firebase/messaging';
import Video from 'react-native-video';
import * as DocumentPicker from '@react-native-documents/picker';
import * as FileAccess from 'react-native-file-access';
import * as ImagePicker from 'react-native-image-picker';
import * as Permissions from 'react-native-permissions';
import * as CreateThumbnail from 'react-native-create-thumbnail';
import * as ImageResizer from '@bam.tech/react-native-image-resizer';
import * as AudioRecorderPlayer from 'react-native-audio-recorder-player';

const nativePlatformServices = {
  clipboard: createNativeClipboardService(Clipboard),
  notification: createNativeNotificationService({
    messagingModule: RNFBMessaging,
    permissionModule: Permissions,
  }),
  file: createNativeFileService({
    imagePickerModule: ImagePicker,
    documentPickerModule: DocumentPicker,
    permissionModule: Permissions,
    fsModule: FileAccess,
    mediaLibraryModule: CameraRoll,
  }),
  media: createNativeMediaService({
    VideoComponent: Video,
    thumbnailModule: CreateThumbnail,
    imageResizerModule: ImageResizer,
  }),
  player: createNativePlayerService({
    audioRecorderModule: AudioRecorderPlayer,
    permissionModule: Permissions,
  }),
  recorder: createNativeRecorderService({
    audioRecorderModule: AudioRecorderPlayer,
    permissionModule: Permissions,
  }),
};

Using Expo CLI

You can use createExpoClipboardService, createExpoNotificationService, createExpoFileService and createExpoMediaService helper functions with below expo modules.

expo install expo-image-picker \
             expo-document-picker \
             expo-media-library \
             expo-file-system \
             expo-clipboard \
             expo-notifications \
             expo-av \
             expo-video-thumbnails \
             expo-image-manipulator
import * as ExpoClipboard from 'expo-clipboard';
import * as ExpoDocumentPicker from 'expo-document-picker';
import * as ExpoFS from 'expo-file-system';
import * as ExpoImagePicker from 'expo-image-picker';
import * as ExpoMediaLibrary from 'expo-media-library';
import * as ExpoNotifications from 'expo-notifications';
import * as ExpoAV from 'expo-av';
import * as ExpoVideoThumbnail from 'expo-video-thumbnails';
import * as ExpoImageManipulator from 'expo-image-manipulator';

const expoPlatformServices = {
  clipboard: createExpoClipboardService(ExpoClipboard),
  notification: createExpoNotificationService(ExpoNotifications),
  file: createExpoFileService({
    fsModule: ExpoFS,
    imagePickerModule: ExpoImagePicker,
    mediaLibraryModule: ExpoMediaLibrary,
    documentPickerModule: ExpoDocumentPicker,
  }),
  media: createExpoMediaService({
    avModule: ExpoAV,
    thumbnailModule: ExpoVideoThumbnail,
    imageManipulator: ExpoImageManipulator,
    fsModule: ExpoFS,
  }),
  player: createExpoPlayerService({
    avModule: ExpoAV,
  }),
  recorder: createExpoRecorderService({
    avModule: ExpoAV,
  }),
};

Local caching (required)

You can implement Local caching easily.

npm i react-native-mmkv
npx pod-install
import { MMKV } from 'react-native-mmkv';

import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';

const mmkv = new MMKV();
const App = () => {
  return <SendbirdUIKitContainer chatOptions={{ localCacheStorage: mmkv }}>{/* ... */}</SendbirdUIKitContainer>;
};

Or you can use AsyncStorage instead of MMKV, but it has been deprecated.

import { AsyncStorage } from '@react-native-async-storage/async-storage';

import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';

const App = () => {
  return <SendbirdUIKitContainer chatOptions={{ localCacheStorage: AsyncStorage }}>{/* ... */}</SendbirdUIKitContainer>;
};

Integration with navigation library

Now you can create a screen and integrate it with a navigation library like react-navigation. See more details on here

The example below shows how to integrate using react-navigation.

Create a fragments and screens

import { useNavigation, useRoute } from '@react-navigation/native';

import { useGroupChannel } from '@sendbird/uikit-chat-hooks';
import {
  createGroupChannelCreateFragment,
  createGroupChannelFragment,
  createGroupChannelListFragment,
} from '@sendbird/uikit-react-native';

const GroupChannelListFragment = createGroupChannelListFragment();
const GroupChannelCreateFragment = createGroupChannelCreateFragment();
const GroupChannelFragment = createGroupChannelFragment();

const GroupChannelListScreen = () => {
  const navigation = useNavigation<any>();
  return (
    <GroupChannelListFragment
      onPressCreateChannel={(channelType) => {
        // Navigate to GroupChannelCreate function.
        navigation.navigate('GroupChannelCreate', { channelType });
      }}
      onPressChannel={(channel) => {
        // Navigate to GroupChannel function.
        navigation.navigate('GroupChannel', { channelUrl: channel.url });
      }}
    />
  );
};

const GroupChannelCreateScreen = () => {
  const navigation = useNavigation<any>();

  return (
    <GroupChannelCreateFragment
      onCreateChannel={async (channel) => {
        // Navigate to GroupChannel function.
        navigation.replace('GroupChannel', { channelUrl: channel.url });
      }}
      onPressHeaderLeft={() => {
        // Go back to the previous screen.
        navigation.goBack();
      }}
    />
  );
};

const GroupChannelScreen = () => {
  const navigation = useNavigation<any>();
  const { params } = useRoute<any>();

  const { sdk } = useSendbirdChat();
  const { channel } = useGroupChannel(sdk, params.channelUrl);
  if (!channel) return null;

  return (
    <GroupChannelFragment
      channel={channel}
      onChannelDeleted={() => {
        // Navigate to GroupChannelList function.
        navigation.navigate('GroupChannelList');
      }}
      onPressHeaderLeft={() => {
        // Go back to the previous screen.
        navigation.goBack();
      }}
      onPressHeaderRight={() => {
        // Navigate to GroupChannelSettings function.
        navigation.navigate('GroupChannelSettings', { channelUrl: params.channelUrl });
      }}
    />
  );
};

Register screens to navigator

import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';

import { SendbirdUIKitContainer, useConnection, useSendbirdChat } from '@sendbird/uikit-react-native';

const RootStack = createNativeStackNavigator();
const SignInScreen = () => {
  const { connect } = useConnection();

  return (
    <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
      <Pressable
        style={{
          width: 120,
          height: 30,
          backgroundColor: '#742DDD',
          alignItems: 'center',
          justifyContent: 'center',
        }}
        onPress={() => connect('USER_ID', { nickname: 'NICKNAME' })}
      >
        <Text>{'Sign in'}</Text>
      </Pressable>
    </View>
  );
};

const Navigation = () => {
  const { currentUser } = useSendbirdChat();

  return (
    <NavigationContainer>
      <RootStack.Navigator screenOptions={{ headerShown: false }}>
        {!currentUser ? (
          <RootStack.Screen name={'SignIn'} component={SignInScreen} />
        ) : (
          <>
            <RootStack.Screen name={'GroupChannelList'} component={GroupChannelListScreen} />
            <RootStack.Screen name={'GroupChannelCreate'} component={GroupChannelCreateScreen} />
            <RootStack.Screen name={'GroupChannel'} component={GroupChannelScreen} />
          </>
        )}
      </RootStack.Navigator>
    </NavigationContainer>
  );
};

const App = () => {
  return (
    <SendbirdUIKitContainer
      appId={APP_ID}
      platformServices={{
        file: FileService,
        notification: NotificationService,
        clipboard: ClipboardService,
        media: MediaService,
        recorder: RecorderService,
        player: PlayerService,
      }}
    >
      <Navigation />
    </SendbirdUIKitContainer>
  );
};

You can use sendbird sdk using useSendbirdChat() hook, and you can connect or disconnect using useConnection() hook. for more details about hooks, please refer to our docs

changelog

Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.9.5 (2025-05-22)

Features

  • add flatListComponent to GroupChannelFragment to support custom FlatList in message list (c87edb2)

3.9.4 (2025-05-07)

Bug Fixes

  • allow string values for borderRadius in StyleSheet (8415fae)

3.9.3 (2025-04-28)

Features

  • update uikit-tools to 0.0.7 to support React Native 0.79 (ba14d82)

3.9.2 (2025-04-21)

Bug Fixes

  • improve message validation related to mentionedMessageTemplate (4ed0b24)

3.9.1 (2025-04-15)

Improvements

  • bump minimum expo-media-library version for android policy compliance (71fedf0)

3.9.0 (2025-04-11)

Features

  • add optional support for @react-native-documents/picker (2fd794e)

Bug Fixes

  • resolve FlatList-related error on Metro 0.81.3 (beaaefb)

3.8.6 (2025-02-12)

Features

  • require only camera permission when using camera feature (2a10efb)

3.8.5 (2025-02-12)

Note: Version bump only for package sendbird-uikit-react-native

3.8.4 (2025-02-05)

Bug Fixes

  • remove duplicate MB text when uploading files over 25MB (042babb)

3.8.3 (2025-01-07)

Note: Version bump only for package sendbird-uikit-react-native

3.8.2 (2024-12-11)

Note: Version bump only for package sendbird-uikit-react-native

3.8.1 (2024-11-28)

Features

  • added showUserId config to suggested mention list (5f7c6af)

Bug Fixes

  • add emoji fallback icon (3d30123)

3.8.0 (2024-11-21)

Features

  • added local configs screen to support dynamic configs (8e2591a)
  • added visibility of users who reacted in SuperGroupChannel (a79ac92)
  • added visibility of users who reacted in SuperGroupChannel (afa1c3d)
  • apply direction to text ui layout (09f0bef)
  • apply rtl support to open channel fragments (ed9b5b5)
  • apply rtl to channel preview component (1e1e930)
  • apply rtl to group channel header (080b3f4)
  • apply rtl to icon component (56c2793)
  • apply rtl to thread (3aee405)
  • change left to start and right to end in styles (6ffb896)
  • support rtl to text and text input (ee4a0c8)
  • updated chat sdk version to 4.15.0 (7cf3f47)
  • updated chat sdk version to 4.16.0 (5500831)

Bug Fixes

  • apply LRM,RLM properly for mention direction (7c7a751)
  • clear voiceMessageStatusManager on unmount group channel fragment (8c7a73a)
  • ensure text aligns center regardless of RTL setting (89401bb)
  • metion block should be grouped (662e6f8)
  • reset currentTime when voice message stopped (c91d7fd)
  • sync voice status of thread parent message component (d3c76d5)

3.7.6 (2024-11-05)

Bug Fixes

  • revert android camera permission (c5db2a2)

3.7.5 (2024-10-29)

Features

  • add scrolling for streaming message update (c4924bc)

Bug Fixes

  • ensure image visibility in file viewer on new architecture (ec6834b)
  • remove non-required permissions from android (4646e34)
  • resolve this binding issues (c4561a0)

3.7.4 (2024-10-22)

Bug Fixes

  • added try/catch to unhandled errors (5df59ce)
  • remove default onOpenFileURL handler (2ad2275)

3.7.3 (2024-10-15)

Bug Fixes

3.7.2 (2024-09-25)

Features

  • add sbu handlers interface (0e75d81)

3.7.1 (2024-09-10)

Bug Fixes

  • disconnect ws only on unmounted (5f09729)

3.7.0 (2024-08-08)

Features

  • support mmkv storage and deprecate a async storage (ffbb8fc)
  • updated sample React version to 0.74.3 (0e32587)

3.6.0 (2024-07-09)

Features

  • added thread type in GroupChannel (5e815ea)

3.5.4 (2024-06-13)

Features

  • deprecated enableReactionsSupergroup in SendbirdUIKitContainerProps (b90d2e2)

3.5.3 (2024-05-28)

Bug Fixes

  • handle image/jpg mime type to determine image compress properly (37f346d)
  • when frozen or muted, input should be disabled (712ae97)

3.5.2 (2024-04-23)

Features

  • inputDisabled prop opened as public (6eb4ad0)

3.5.1 (2024-04-08)

Bug Fixes

  • remove unused ios media library permission (0a65f4f)

3.5.0 (2024-03-26)

Features

  • support reactions for super group channel (8ab0720)

3.4.3 (2024-03-20)

Features

  • foundation: add disableFastImage prop to Image component (538cabb)

3.4.2 (2024-03-06)

Bug Fixes

  • remove conditional hooks even if they depend on an unchanging value. (d61e137)

3.4.1 (2024-02-06)

Bug Fixes

  • use ComponentType instead of function structure in CommonComponent type (2cf00e9)

3.4.0 (2024-01-30)

Features

  • implement zoomable image viewer to FileViewer (06a4f95)

Bug Fixes

  • replace padding horizontal and vertical (24f49b4)

3.3.0 (2023-11-23)

Features

  • add bottomSheetItem to props of renderMessage (83f8710)
  • add typing indicator bubble ui and logic (9223b43)

Bug Fixes

  • add promise polyfills for hermes (2f31a45)
  • adjust lineHeight of iOS TextInput (c9c253e)
  • if the bubble renders and the scroll reaches the bottom, it should scroll to bottom on android (a866422)

3.2.0 (2023-11-03)

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)

3.1.2 (2023-10-04)

Features

  • add localCacheEncryption interface to container prop (3341992)

Bug Fixes

  • filter deactivated users when making mention suggestions (ee1e9c2)

3.1.1 (2023-08-23)

Features

  • use thumbnails if available (62f3ca0)

3.1.0 (2023-08-11)

Features

  • add video thumbnail component (e702155)
  • UIKIT-4240: implement basic quote reply logic (#103) (b4add0e)
  • UIKIT-4240: implement basic quote reply logic (#103) (2202e3b)

Bug Fixes

  • add exception handling for unreachable parent message (9df42be)
  • add exception handling for unreachable parent message (e1b5330)
  • unsent messages should be shown first of the message list (3a4544e)

3.0.4 (2023-07-13)

Features

  • update expo-document-picker and support backward compatibility (364f805)

Bug Fixes

  • utils: extension should not contain dot in getMimeFromFileExtension (7be3d0c)
  • utils: getFileExtensionFromUri should return extension not a mime-type (e2df878)
  • utils: return extension of getFileExtensionFromMime should contain dot (85b6d18)

3.0.3 (2023-07-11)

Bug Fixes

  • utils: wrong mime type check condition in normalizeFile (1ca3789)

3.0.2 (2023-07-10)

Bug Fixes

  • revert "fix: do not use scrollview enhancer if the platform is not android (ff48e36)" (907b09e)

3.0.1 (2023-07-04)

Bug Fixes

  • do not use scrollview enhancer if the platform is not android (ff48e36)
  • update expo modules and support backward compatibility (5c45ee6)

3.0.0 (2023-06-28)

⚠ BREAKING CHANGES

  • update signature of channel preview prop in group channel list and open channel list
  • removed queryCreator from the group channel and group channel list
  • update minimum chat sdk version
  • bumped peer dependency version of chat sdk
  • react-native minimum version changed to 0.65.0 from 0.63.3
  • made chatOptions.localCacheStorage of SendbirdUIKitContainer required
  • deprecated item removal in foundation package
  • deprecated item removal in ChannelInput
  • deprecated MessageRenderer removal (replaced to GroupChannelMessageRenderer)
  • deprecated item removal in ChannelMessageList
  • deprecated item removal in uikit-chat-hooks package
  • deprecated item removal in StringSet

Features

  • added AttachmentsButton to ChannelInput component (687f3a0)
  • bumped peer dependency version of chat sdk (a57aff0)
  • deprecated item removal in ChannelInput (6a326ca)
  • deprecated item removal in ChannelMessageList (3a68a33)
  • deprecated item removal in foundation package (96f9717)
  • deprecated item removal in StringSet (956236b)
  • deprecated item removal in uikit-chat-hooks package (48fabfe)
  • deprecated MessageRenderer removal (replaced to GroupChannelMessageRenderer) (488e0b6)
  • hide ui elements when the channel is ephemeral (eacc2da)
  • made chatOptions.localCacheStorage of SendbirdUIKitContainer required (2f07d0d)
  • react-native minimum version changed to 0.65.0 from 0.63.3 (39a9852)
  • support options for default user profile(default: false) (6671a61)
  • support options for ogtag in channel (d80b8a0)
  • update minimum chat sdk version (5330d1f)
  • use uikitWithAppInfo internally (a182ead)

Bug Fixes

  • ensure correct display of reply messages when replyType is configured in uikit configs (a00b089)
  • fixed config linking in mention manager (6e8ba6c)
  • fixed menuItemsCreator timing (279fd98)
  • fixed onPress related handlers in message renderer for proper functionality (6da20db)
  • focusing animation of message search results has been modified to apply only to the message component (c5d22a2)
  • foundation: fixed slight cropping at the bottom of images in AvatarGroup (76ccadf)
  • replaced unsupported Object.hasOwn (f165273)

Miscellaneous Chores

  • removed queryCreator from the group channel and group channel list (ca3bc98)
  • update signature of channel preview prop in group channel list and open channel list (d3e8afa)

Improvements

  • defensively modify reducer logic to prevent duplicate objects (bc3cfb1)
  • modify useGroupChannel and useOpenChannel hooks to refetch the channel when the url has changed (5b8e105)
  • react-native-scrollview-enhancer handle as a optional (d570851)

2.5.0 (2023-05-04)

Features

  • added message search fragment (a6342c0)
  • implement focus animation on search item (7fe38e8)
  • implemented scroll-view enhancer (1dca4a0)

Bug Fixes

  • chat-hooks: fixed adding, updating, and deleting messages properly when returning from background to foreground in the open channel (50b2f23)
  • uikit: do not handle onUserBanned in open channel list (8ba9daa)
  • uikit: fixed mention suggestion properly based on updated members (fb50bbd)

2.4.2 (2023-04-28)

Features

  • uikit: added queryCreator prop to GroupChannelBannedUsersFragment (dd682e8)
  • uikit: added queryCreator prop to GroupChannelMembersFragment (38eb2fe)
  • uikit: added queryCreator prop to GroupChannelMutedMembersFragment (37e6be7)
  • uikit: added queryCreator prop to GroupChannelOperatorsFragment (63d08e8)
  • uikit: added queryCreator prop to GroupChannelRegisterOperatorFragment (7e1485a)
  • uikit: added queryCreator prop to OpenChannelBannedUsersFragment (16e1e4c)
  • uikit: added queryCreator prop to OpenChannelMutedParticipantsFragment (0e7c462)
  • uikit: added queryCreator prop to OpenChannelOperatorsFragment (d7746f5)
  • uikit: added queryCreator prop to OpenChannelParticipantsFragment (01f82da)
  • uikit: added queryCreator prop to OpenChannelRegisterOperatorFragment (3693856)

Improvements

  • chat-hooks: removed deps from useConnectionHandler (6acf65c)

2.4.1 (2023-03-24)

Bug Fixes

  • uikit: fixed connection failure due to duplicate network listener invocation on v4.6.0+ session token connection. (ff761f3)
  • utils: properly retrieve file extensions from URLs that contain query parameters (7401d55)

Improvements

  • refactored createFileService functions and utils structure (5e44d4f)

2.4.0 (2023-03-15)

Features

  • added open channel message components (2cbdcba)
  • foundation: added OpenChannelPreview component (6a6503d)
  • hooks: added useGroupChannel hook (9a6b996)
  • hooks: added useOpenChannelList and useOpenChannelMessages hooks (e41e076)
  • hooks: useChannelHandler supports open channel handler (3d95e7b)
  • uikit: added open channel banned users fragment. (391a871)
  • uikit: added open channel create fragment (21d4bb5)
  • uikit: added open channel fragment (6250770)
  • uikit: added open channel list fragment (61fff68)
  • uikit: added open channel moderation fragment (539b3d2)
  • uikit: added open channel muted participants fragment (f876ba7)
  • uikit: added open channel operators fragment (aea29af)
  • uikit: added open channel participants fragment (c4dd37f)
  • uikit: added open channel register operator fragment (be883c9)
  • uikit: added open channel settings fragment (48ebf2a)
  • utils: added useDebounceEffect hook (dc90bb4)
  • utils: added usePartialState hook (f76fe69)

Bug Fixes

  • chat-hooks: modified to manually update failed messages when using query in useChannelMessages hook (0f7b0ce)
  • uikit: added missing onLoadNext call to user list components (6592e11)

Improvements

  • replaced useUniqId to useUniqHandlerId (543e149)
  • uikit: added disabled option to errorBoundary in SendbirdUIKitContainer props (6070d54)
  • uikit: expanded interfaces for channel input to make customization implementation easier (4d3f183)
  • uikit: extract base channel input component from group channel module (462291e)

2.3.0 (2023-02-09)

Features

  • added image compression feature (568b5bb)
  • utils: added useSafeAreaPadding hook (80cd9ab)

Bug Fixes

  • added missing labels for permissions (89186bd)
  • chat-hooks: do not clear next message when loading prev message (6508144)
  • uikit: fixed to useContext type compiles the correct package path (d17ccb0)
  • uikit: support compatibility for removing AppState listener under 0.65 (b122691)

2.2.0 (2023-01-03)

Features

  • added group channel notifications fragment (dfb891d)
  • foundation: added dynamic header to bottom sheet (850cb68)
  • foundation: added mention related props to group channel preview (507a1af)
  • foundation: added reaction ui color (5b272e5)
  • uikit: added emoji manager (1cad175)
  • uikit: added reaction addons (1a0db30)
  • uikit: added reaction bottom sheets (07ae1ad)
  • uikit: added reaction user list bottom sheet (e9ef7e9)

Bug Fixes

  • added missing keyExtractor to list components of modules (4ee1108)
  • android selection bug (d2b4c8c)
  • chat-hooks: admin message is not added via onMessagesAdded handler (0bbb499)
  • chat-hooks: fixed wrong error variable name in the useUserList query catch (82c6f6f)

Improvements

2.1.0 (2022-12-06)

⚠ BREAKING CHANGES

  • uikit: update camera roll module

Features

  • added group channel type selector (9fb7a19)
  • chat-hooks: added useGroupChannel hook (9392dea)
  • foundation: added profile card ui (472f02f)
  • support broadcast and supergroup channel (895fa3b)
  • uikit: added enableUseUserIdForNickname option (5d3cfd8)
  • uikit: added group channel banned users fragment (80e1a5e)
  • uikit: added group channel moderations fragment (4213e6d)
  • uikit: added group channel muted members fragment (3784b73)
  • uikit: added group channel operators add fragment (4ac84ee)
  • uikit: added group channel operators fragment (c7f6626)
  • uikit: added mini profile card (0877463)
  • uikit: added moderation in group channel members (9b25059)
  • utils: added buffered request function (d3e375c)

Bug Fixes

  • chat-hooks: prevent MESSAGE_RECEIVED handler called twice when receiving new message. (ab988c6)

Improvements

  • chat-hooks: removed activeChannel from useGroupChannelMessages for normalizing (70fb1c7)
  • uikit: update camera roll module (5ddb5d3)

Documentation

  • added list banned users in group channel (4f60dfb)
  • added list muted members (877d7d8)
  • added list operators in group channel (a4afbf7)
  • added moderating channels and members page (aad20af)
  • added register member as operators (7dde222)
  • update docs validation snippet (4aaeb89)

2.0.3 (2022-12-01)

Improvements

2.0.1 (2022-10-26)

Bug Fixes

  • foundation: position of toast when keyboard is up on iOS (bc98b4f)
  • uikit: call setBackgroundState only on background status (ca89ecc)

2.0.0 (2022-10-11)

Documentation

  • resources: added missing import desc (1824b65)

2.0.0-rc.0 (2022-10-11)

⚠ BREAKING CHANGES

  • migrated to Chat SDK v4

Features

  • migrated to Chat SDK v4 (5ce9e4f)

Bug Fixes

  • utils: remove useLayoutEffect sync from useFreshCallback (d5656be)

Documentation

1.1.2 (2022-09-28)

Features

  • added an alert to go to app settings when permission is not granted (QM-1799) (dfb9322)

Bug Fixes

  • changed default limit in useGroupChannelListWithCollection hook (260fa6c)
  • ellipsis name in the message (QM-1788, QM-1790) (cf39461)
  • fixed createFileService.native to save media files properly on Android (QM-1766) (939d2b4)
  • fixed createFileService.native to save video files properly on iOS13 (QM-1765) (811039b)
  • truncate file viewer header title(QM-1798) (6c34292)

1.1.1 (2022-09-14)

Features

  • chat-hooks: added useMessageOutgoingStatus hook (f3af2a7)

Bug Fixes

  • added missing collectionCreator prop to GroupChannelListFragment (d06d60e)
  • chat-hooks: respect the order of group channel collection and query. (913875d)

1.1.0 (2022-08-31)

Features

  • uikit: added file viewer component (9b9d52b)
  • uikit: added TypingIndicator and MessageReceiptStatus in Channel List (39c54fc)
  • uikit: added video message component and media service (15713e5)

Bug Fixes

  • uikit: changed type of createExpoNotificationService param (e030128)

Documentation

Improvements

  • chat-hooks: remove deps from useChannelHandler (fe4ec27)

1.0.2 (2022-08-09)

Bug Fixes

  • uikit: fixed createFileService.expo to work as expected (876d72c)

Improvements

1.0.1 (2022-08-09)

Bug Fixes

  • uikit: fixed createFileService.expo to work as expected (876d72c)

Improvements

1.0.0 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.4 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.3 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.2 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.1 (2022-07-26)

Note: Version bump only for package sendbird-uikit-react-native

1.0.0-rc.0 (2022-07-26)

Bug Fixes

  • apply strings review (a4c94e3)
  • chat-hooks: do not check isResendable before resend message (6d3f8a3)
  • chat-hooks: rename module (7a2c30c)
  • core: added keyboard-avoid-offset prop to group channel (bd1c905)
  • core: changed label keys (106843f)
  • core: changed label keys, inject one-source user no name label (003d46d)
  • core: conditional rendering for typings indicator string (64908b9)
  • core: GroupChannelSettings component segmentation (4bfdfde)
  • core: iOS media library save type (55eb549)
  • core: NativeFileService error (ebc71d5)
  • core: NativeFileService, should check file type on iOS (d07c568)
  • core: re-naming GroupChannelInfo to GroupChannelSettings (afc6e23)
  • core: renamed ignoreActiveOnly prop of UserListHeader (89e80d9)
  • core: renamed onLeaveChannel prop of GroupChannelFragment (d5aa8f7)
  • improve stability (1698bc1)
  • improve stability (72648d1)
  • renamed Context to Contexts (41bae55)
  • sample: badge clear (df069b0)
  • sample: push handler (6505495)
  • sample: revert gradle settings (c29a87f)
  • sample: underscore numeral throw error on android build (ff3b6da)
  • sample: update notifee (a54048c)
  • uikit: display username as single line (fad080b)
  • uikit: fragment creator params should be partial (c53ba95)
  • uikit: prevent crash on open graph (a5663ca)
  • uikit: remove sdk injection, support better locale type infer (13dfe9d)
  • uikit: set keyboardAvoidOffset as a prop (7679e2f)
  • update sdk, fix locale injection (a86ad81)
  • util: url replacer (07753b1)

Features

  • added status component to GroupChannelList (8ee6ae5)
  • foundation: added typography option to themeFactory (28b47d5)
  • uikit: added error boundary (952cf9c)
  • uikit: added extension (52de301)
  • uikit: added internal local cache storage (f78a492)

0.1.2 (2022-04-26)

Bug Fixes

  • added ios env checker (d42d0ac)
  • android build command typo (2f81938)
  • android service account path (dfec8fc)
  • changed ios match git authorization method to ssh (a293a75)
  • chat-hooks: added guard to useGroupChannelListWithQuery init (5ec16d9)
  • chat-hooks: wrong if condition (4f93e6c)
  • core: added performance warning and create patch to sample (c366f28)
  • core: exports expo platform service creators (c98f776)
  • core: fixed landscape layout (3d2ce2d)
  • fixed channel preview update properly (b8b3d53)
  • fixed pod version (944253e)
  • foundation: added max-width to toast (740a16b)
  • foundation: export Switch component (1af53a6)
  • foundation: implement android modal onDismiss (0c82d60)
  • foundation: position of keyboard avoided modal is incorrect when orientation is changed on android (b63ce2c)
  • foundation: relocation files (b0d7426)
  • ios fastlane env (09f042c)
  • ios pods cache dir path (841f5b3)
  • lint warnings (caeff54)
  • nvm error on ios build phase (5d724aa)
  • oom on android build (15c2f4b)
  • remove default storybook components (e6eca26)
  • sample: fix storybook path (91c0d4f)
  • sample: grouping stories (513ca25)
  • update ruby (fcd85f0)
  • utils: added react-native dependency (d6ccf01)
  • utils: pubsub enhancement (2006249)

Features

  • added android (ec60009)
  • added default locale string set (1c66add)
  • added ESBuild to sample metro bundler minifier (a54de63)
  • added ios (520d769)
  • added message components (682cdb4)
  • added sample project for real-time development (e6a9e25)
  • added storybook (eddf162)
  • added theme typography (6405333)
  • added toast (ddd8de6)
  • chat-hooks: added channel list local cache hook (77685bc)
  • chat-hooks: added enableCollection options to groupChannel hooks (8fc2454)
  • core: added group channel members fragment (815278d)
  • core: added message handlers (2d9f1c4)
  • core: added typing indicator to group channel (86d835d)
  • core: implement channel menu to groupChannelList (debb6d8)
  • core: implement send message and file pick flow (2cc40f8)
  • create modularization template script (ccf022d)
  • create type selector (6139231)
  • extract foundation package (41245cc)
  • foundation: added Avatar component (0e451c3)
  • foundation: added Badge component (7b63d90)
  • foundation: added BottomSheet component (c208710)
  • foundation: added dialogue (e2c4abc)
  • foundation: added Placeholder component (e68d9a6)
  • foundation: added Prompt and Input component (1bc173a)
  • foundation: implement gesture to slide type modal (cc5af93)
  • foundation: implement queued dialogs (action menu, alert) (e5e7b24)
  • sample: added change nickname (0eceb48)
  • sample: added change profile photo (74ea450)
  • sample: added create channel (66e7ae9)
  • sample: added ios notification (44ef9f7)
  • sample: added settings ui (bb81801)
  • setup lerna (#21) (1382c42)
  • show palette and theme colors to sample app (1b0cd55)
  • uikit: added message receipt (9cafe11)