🚀 v2.4.0 Released

Build with ConnectHub SDKs

Lightweight, type-safe, and production-ready developer tools for iOS, Android, Web, React Native, and Flutter. Connect millions of users in minutes.

🌐
Web / JS
v2.4.0
🍎
iOS
Swift 5.8+
🤖
Android
Kotlin/Jetpack
⚛️
React Native
v0.72+
💙
Flutter
Dart 3.1+
🎮
Unity
2022 LTS
$npm install @connecthub/sdk
TypeScript
Swift
Kotlin
Dart
import { ConnectHub, AuthProvider, RealtimeFeed } from '@connecthub/sdk';

// Initialize SDK with your project credentials
const hub = new ConnectHub({
  projectId: 'proj_x8k92m',
  apiKey: process.env.CONNECTHUB_API_KEY,
  env: 'production'
});

// Authenticate & sync offline-first
await hub.auth.login(AuthProvider.oauth2);

// Subscribe to real-time events
hub.feed.on('post.created', (data) => {
  console.log(`New post: ${data.title}`);
  updateUI(data);
});

await hub.connect();
console.log('✅ Connected to ConnectHub');

Built for Modern Developers

Everything you need to ship social features faster, without the infrastructure headaches.

Real-Time Sync

WebSocket-powered live updates with automatic conflict resolution and optimistic UI patterns built-in.

📦

Offline-First

Local SQLite/Realm persistence with background sync queues. Your app works seamlessly without internet.

🔐

Type-Safe & Authenticated

Full TypeScript definitions, schema validation, and secure token rotation out of the box.

📊

Built-in Analytics

Track engagement, retention, and content performance with privacy-compliant event logging.

🧩

Modular Architecture

Import only what you need. Tree-shakable packages for Auth, Feed, Messaging, Live, and Cloud Functions.

🌍

Global Edge Network

Auto-routed to nearest edge node. Sub-50ms latency worldwide with automatic failover.

Developer Resources

Comprehensive guides, API references, and community support to ship faster.

📖 API Reference

Complete method signatures, parameters, and return types for every SDK module.

Browse Docs →

🚀 Migration Guides

Step-by-step instructions for upgrading from v1.x to v2.x with zero downtime.

Read Guide →

🔧 SDK Changelog

Track new features, bug fixes, and breaking changes in every release.

View Releases →

💬 Community & GitHub

Join 40k+ developers. Ask questions, report issues, or contribute to the open-core SDK.

Join Discord →