Skip to main content
Data source configuration is one of the core functions of WuKongIM Flutter SDK, responsible for handling key business logic such as file upload/download, conversation sync, channel information retrieval, and message sync.

File Management

When sending custom attachment messages, the message sent to the recipient is a network address, not the actual file. In this case, we need to listen for attachment uploads.

Listen for Attachment Upload

Complete File Upload Management Example

Attachment Download

The SDK will not actively download message attachments. When receiving messages with attachments, the app needs to download them as needed. After the app completes the download, it can change the local file address to avoid repeated downloads.

Complete File Download Management Example

Recent Conversations

Listen for Conversation Sync

Complete Conversation Sync Example

Channel Information

Channel Information Data Source

You can also batch save channel information:

Complete Channel Data Source Example

Messages

Channel Message Data Source

Complete Message Sync Example

Complete Data Source Manager

Next Steps

Advanced Features

Explore custom messages and extension features

Reminder Management

Return to reminder management functionality

Channel Management

Return to channel management functionality

Message Management

Return to message handling functionality