OddSockets Flutter SDK

Live Interactive Demo - Real-time Communication for Mobile

Connected
Mobile-First Architecture
Push Notifications
Background Sync
File Upload with Progress
Presence Tracking
Offline Support

Real-time Chat

Live channel — open this page in a second tab and the two will talk to each other.

Presence Tracking

Online Users 0

File Upload with Progress

Click to pick a file (max 512 KB)

Streamed over the channel in 16 KB chunks

Push Notifications

Notification Features
  • Firebase Cloud Messaging
  • Local notifications
  • Background message handling
  • Custom notification sounds

Background Sync

Offline Capabilities
0
Queued Messages
Sync Status
Last Sync

Implementation Example

// Initialize OddSockets Flutter SDK
final client = OddSocketsClient.instance;

await client.initialize(ConnectionConfig(
  apiKey: 'your-api-key',
  userId: 'user-123',
  enableBackgroundSync: true,
  enablePushNotifications: true,
));

// Connect and join channel
await client.connect();
await client.joinChannel('general');

// Listen for messages
client.messageStream.listen((message) {
  setState(() {
    messages.add(message);
  });
});

// Send message
await client.sendMessage('general', 'Hello!');
Ready to Get Started?

The OddSockets Flutter SDK provides everything you need for real-time communication in mobile apps.

OddSockets