ChatProvider | Component | Session, socket, push, theme, toast, safe area, gesture root |
ChatNavigator | Component | Whole chat stack + CallProvider |
AppScreen, ChatStackParamList, RootStackParamList, ChatScreenProps, ChatRoomParams, ChatInfoParams, CreateGroupParams, SelectGroupMembersParams, CanvasListParams, CanvasEditorParams, CallsHistoryParams | Constants / types | Route names and params |
configureChat, updateChatUiConfig, getUiConfig, getUiConfigPartial, resolveChatUiConfig, mergeChatUiStyles, mergeChatInfoPartial, DEFAULT_CHAT_UI, DEFAULT_CHAT_FONTS, getFonts, getThemeConfig, getCallUri, getAccentHex, getCustomAccent, resolveAccentOption, applyColorOverrides, getConfiguredAppearanceDefaults, applyEnvChatConfigFallback, isChatConfigured, ChatConfig, resolveApiUrl, resolveSocketUrl | Functions | Config |
ConfigureChatOptions, ChatUiConfig, ChatUiComponents, ChatUiStyles, ChatThemeConfig, ChatFonts, ChatInfoUiConfig, … | Types | Config shapes |
ChatCustomizationProvider, useChatCustomization, Render* / *RenderProps types | Component / hook / types | Render props |
ConversationListScreen (ConversationList, ChatConversationList), ChatRoomScreen (ChatRoom), ChatInfoScreen, CreateGroupScreen, SelectUserScreen, SelectGroupMembersScreen, GlobalMessageSearchScreen, NotificationSettingsScreen, MentionsScreen, CanvasListScreen, CanvasEditorScreen, ProfileScreen, ActiveCallScreen, CallsHistoryScreen | Screens | Custom navigators |
ChatRoomHeader, ConversationListItem, MessageBubble, MessageComposer, ThreadDrawer, MentionRow | Components | Wrap / reuse built-ins |
Icon, Assets, getIconXml, isIconName, ThemeIcon, tintSvgXml, AppFonts | Components / utils | Icons, fonts |
useChat, useChatSession, useChatSocket, useConversations, useMessages, useAdminFeatureGate, useEffectiveSettings, useEffectiveSettingsOptional, useAppTheme | Hooks | Hooks & store |
getFeatureGate, getCallGate, getCallsPlatformGate, getCallRecordingGate, getWhiteboardGate, isGroupPermissionLocked, gate messages, AdminFeatureKey, FeatureGate, CallFeatureGate, IEffectiveChatSettings | Functions / types | Permissions |
ensureChatSession, bootstrapChatSession, connectChatSocket, logoutChatSession, resetChatSession, BootstrapChatSessionOptions | Functions | Session |
onChatSessionEnd, clearChatSessionEnd, sessionEndReasonForCode, sessionEndMessage, ChatSessionEnd* types | Functions / types | Server-ended sessions |
socketService, SOCKET_EVENTS | Object / constants | Socket |
selectOnlineUsers, selectSocketAppError, selectSocketError, selectSocketStatus, authActions, selectIsAuthenticate, selectIsSessionReady, selectSdkChatToken, selectLoggedUserId, SocketStatus | Internal store helpers | Prefer the hooks |
CHAT_API_KEYS, setChatQueryParams, setChatQueryParamApis, setChatQueryParamsByApi, getChatQueryParamState, resolveParamsForRequest, resolveChatApiKey, ChatApiKey, ChatQueryParams | Functions / types | API query params |
fetchMentionedMessages, MentionedMessage | Function / type | Mentions view |
useAppTheme, getColors, getThemeAccent, THEME_ACCENT_OPTIONS, DEFAULT_THEME_ACCENT, createAccentFromHex, resolveAccent, normalizeHexColor, isHexColor, DEFAULT_APPEARANCE, AVATAR_SHAPE_OPTIONS, MESSAGE_STYLE_OPTIONS, getAvatarBorderRadius, getMessageBubbleRadii, Spacing, FontSize, FontWeight, Typography, getTypography | Hook / functions / constants | Theme |
configureCalling, getCallingConfig, isCallingEnabled, callManager, CallProvider, useCallStore, useCallExtrasStore, useLiveCallsStore, resetCallExtras, CALL_MODES, CALL_SOCKET_EVENTS, apiFetchCallHistory, apiFetchActiveCalls, apiJoinCall, FloatingReactions, CallChatPanel, JoinCallBanner, CallMode, CallPeer, CallUiStatus, StartOutgoingCallParams, ActiveCallSummary, CallHistoryEntry | Functions / components / types | Calling |
configurePushNotifications, registerRealtimexBackgroundHandler, handleRealtimexBackgroundMessage, handleRealtimexNotifeeEvent, handleRealtimexForegroundMessage, extractPushData, isRealtimexPush, openRealtimexNotification, registerPushForSession, unregisterPushForSession, startRealtimexNotifications, startRealtimexVoip, subscribeNotificationPrefs, NotificationsApiError, apiGetPushConfig, apiGetNotificationPreferences, apiPatchNotificationPreferences, apiGetConversationNotifications, apiPutConversationNotifications, push types | Functions / types | Push |