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

Package detail

@gathertown/uikit-react-native

sendbird954SEE LICENSE IN LICENSE.md0.0.14TypeScript 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.72 or higher, you don't need to install @sendbird/react-native-scrollview-enhancer.

npm install @sendbird/uikit-react-native \
            @sendbird/chat \
            @sendbird/react-native-scrollview-enhancer \
            date-fns \
            react-native-safe-area-context \
            @react-native-community/netinfo \
            @react-native-async-storage/async-storage

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">

    <uses-permission android:name="android.permission.CAMERA" />
    <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.POST_NOTIFICATIONS" />
    <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
    <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />

</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 - Media Library Usage Description string $(PRODUCT_NAME) would like access to your photo library
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: AsyncStorage,
      }}
      platformServices={{
        file: FileService,
        notification: NotificationService,
        clipboard: ClipboardService,
        media: MediaService,
      }}
    >
      {/* ... */}
    </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-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 * as ImageResizer from '@bam.tech/react-native-image-resizer';
import { CameraRoll } from '@react-native-camera-roll/camera-roll';
import Clipboard from '@react-native-clipboard/clipboard';
import RNFBMessaging from '@react-native-firebase/messaging';
import * as CreateThumbnail from 'react-native-create-thumbnail';
import * as DocumentPicker from 'react-native-document-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 Video from 'react-native-video';

const NativeClipboardService = createNativeClipboardService(Clipboard);
const NativeNotificationService = createNativeNotificationService({
  messagingModule: RNFBMessaging,
  permissionModule: Permissions,
});
const NativeFileService = createNativeFileService({
  fsModule: FileAccess,
  permissionModule: Permissions,
  imagePickerModule: ImagePicker,
  mediaLibraryModule: CameraRoll,
  documentPickerModule: DocumentPicker,
});
const NativeMediaService = createNativeMediaService({
  VideoComponent: Video,
  thumbnailModule: CreateThumbnail,
  imageResizerModule: ImageResizer,
});

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 ExpoAV from 'expo-av';
import * as ExpoClipboard from 'expo-clipboard';
import * as ExpoDocumentPicker from 'expo-document-picker';
import * as ExpoFS from 'expo-file-system';
import * as ExpoImageManipulator from 'expo-image-manipulator';
import * as ExpoImagePicker from 'expo-image-picker';
import * as ExpoMediaLibrary from 'expo-media-library';
import * as ExpoNotifications from 'expo-notifications';
import * as ExpoVideoThumbnail from 'expo-video-thumbnails';

const ExpoNotificationService = createExpoNotificationService(ExpoNotifications);
const ExpoClipboardService = createExpoClipboardService(ExpoClipboard);
const ExpoFileService = createExpoFileService({
  fsModule: ExpoFS,
  imagePickerModule: ExpoImagePicker,
  mediaLibraryModule: ExpoMediaLibrary,
  documentPickerModule: ExpoDocumentPicker,
});
const ExpoMediaService = createExpoMediaService({
  avModule: ExpoAV,
  thumbnailModule: ExpoVideoThumbnail,
  imageManipulator: ExpoImageManipulator,
  fsModule: ExpoFS,
});

Local caching (required)

You can implement Local caching easily.

npm i @react-native-async-storage/async-storage
npx pod-isntall
import AsyncStorage from '@react-native-async-storage/async-storage';

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

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

Or you can use storage you are using instead of AsyncStorage (e.g. react-native-mmkv)

import { MMKV } from 'react-native-mmkv';

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

const mmkvStorage = new MMKV();
const localCacheStorage: LocalCacheStorage = {
  async getAllKeys() {
    return mmkvStorage.getAllKeys();
  },
  async setItem(key: string, value: string) {
    return mmkvStorage.set(key, value);
  },
  async getItem(key: string) {
    return mmkvStorage.getString(key) ?? null;
  },
  async removeItem(key: string) {
    return mmkvStorage.delete(key);
  },
};

const App = () => {
  return <SendbirdUIKitContainer chatOptions={{ localCacheStorage }}>{/* ... */}</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,
      }}
    >
      <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.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)