MobileIMSDK is a lightweight IM protocol stack with UDP, TCP, and WebSocket options, Netty-based server, and client libs for Android, iOS, Java, and related mobile targets.
Overview
MobileIMSDK packages a long-maintained instant messaging transport layer meant to let product teams focus on UI while the SDK handles sockets, QoS, and routing. Client libraries target Android, iOS, standard Java, and partially H5, WeChat mini programs, UniApp, and HarmonyOS Next, alongside an open Netty server.
One API surface can switch among UDP, TCP, and WebSocket transports with sticky-packet handling, automatic reconnect, deduplication, and server push paths for C2C, C2S, and S2C message modes. Library size goals stay under roughly 50 KB for mobile binaries.
Stress notes claim high fan-out for push and tens of thousands of chat connections per server depending on deployment. Companion RainbowChat products demonstrate production-style apps built on the stack.
Some mobile web ports are sold as annotated editions while native Android, iOS, Java, and server sources remain in the main repository. Apache-style community usage spans chat apps, enterprise OA, and notification systems per the author’s scenario list.
Key features
- UDP TCP WebSocket protocols
- Netty-based IM server
- QoS resend and deduplication
- C2C C2S S2C routing
- Mobile and Java client SDKs
- Sticky packet handling
- Auto reconnect logic
Use cases
- Embedding chat in mobile apps
- Private push notification stacks
- Lightweight IoT messaging