Key Benefit: Provide users with a centralized hub to manage all their chat conversations, featuring real-time updates, unread indicators, and intuitive navigation between active and archived chats.

Feature Overview

The UIKit provides users with an overview of all their active chat channels. It offers a quick glance at the latest conversations and helps users easily stay on top of ongoing discussions.

Channel Management

Conversation Organization
  • Channel preview with latest messages
  • Real-time activity sorting
  • Unread message indicators
  • Swipe-to-archive functionality

User Navigation

Intuitive Chat Access
  • Tap to enter conversations
  • Create new conversations
  • Access archived chats
  • Network connectivity indicators
Platform Support: Recent Chats components are currently supported on Flutter only.

Implementation Guide

Main entry point for chat functionalityThe AmityChatHomePage serves as the central hub for managing and navigating between conversations.

Features

FeatureDescription
Chat List DisplayDisplays a list of available chats for the user
Network Connectivity IndicatorShows “Waiting for network…” message when device is offline
Create New ConversationAllows users to create new chat conversations via popup menu
Access Archived ChatsProvides access to archived chats through menu option

Code Examples

Widget chatHomePage() {
  return AmityChatHomePage();
}
Automatic Management: The chat home page automatically handles real-time updates, sorting, and network connectivity through the underlying SDK.

Component Management Strategies

Best Practices

Implementation Strategy: Start with AmityChatHomePage as your main chat interface, then add ArchivedChatListComponent and AmityChannelCreateConversationPage as needed to provide complete chat management functionality.