Skip to main content

What is WuKongEasySDK

WuKongEasySDK is a lightweight instant messaging SDK series designed for rapid integration. It provides unified API design across platforms, enabling developers to add real-time chat functionality to any application in just 5 minutes.
Design Philosophy: Simplify integration complexity, focus on core functionality, and provide out-of-the-box chat experience.

Core Advantages

🚀 Lightning Fast Integration

  • 5-Minute Setup: From installation to sending the first message takes only 5 minutes
  • Zero Configuration Start: Ready to use out of the box, no complex initialization configuration needed
  • Automated Processing: Built-in connection management, auto-reconnection, message synchronization mechanisms

📱 Full Platform Coverage

  • Web/JavaScript: Supports modern browsers (Chrome 60+, Firefox 55+, Safari 11+, Edge 79+)
  • iOS: Supports iOS 12.0 or higher, Xcode 12.0+, Swift 5.0+
  • Android: Supports Android 5.0 (API level 21) or higher, Kotlin 1.5.0+
  • Flutter: Supports Flutter 3.0.0 or higher, Dart 2.17.0+

💡 Unified Design

  • Consistent API: All platforms use the same method names and parameter structures
  • Modern Async Patterns: JavaScript Promise, Swift async/await, Kotlin coroutines, Dart async/await
  • Event-Driven Architecture: Unified event listening and handling mechanisms

Integration Process Overview

Cross-Platform Code Examples

Here are basic integration code examples for each platform, demonstrating WuKongEasySDK’s unified API design:
import { WKIM, WKIMChannelType, WKIMEvent } from 'easyjssdk';

// 1. Initialize SDK
const im = WKIM.init("ws://your-server.com:5200", {
    uid: "your_user_id",
    token: "your_auth_token"
});

// 2. Listen for messages
im.on(WKIMEvent.Message, (message) => {
    console.log("New message received:", message);
});

// 3. Connect to server
await im.connect();

// 4. Send message
const result = await im.send("friend_user_id", WKIMChannelType.Person, {
    type: 1,
    content: "Hello from Web!"
});
Unified Design: Notice that all platforms use the same method names (init, connect, send) and similar parameter structures, making cross-platform development easier.

Use Case Guidelines

  • Project Types
  • Technical Requirements
  • Rapid Prototyping: Prototype projects that need to quickly validate chat functionality
  • MVP Projects: Minimum viable products for quick market validation
  • Simple Chat Applications: Chat applications with relatively simple feature requirements
  • Learning and Demos: Learning instant messaging development or product feature demonstrations
  • Internal Tools: Enterprise internal communication tools or customer service systems

Get Started Now

Choose your development platform and begin your 5-minute quick integration journey:
Selection Advice: If you’re unsure which platform to choose, we recommend starting with Web EasySDK as it can quickly validate functionality and is easy to debug.