The HTML5 container is a mobile hybrid solution built on the Nebula SDK. It manages HTML5 pages through sessions and exposes JavaScript APIs, plug-ins, and an event mechanism—giving your native app a reliable, extensible bridge to web content with built-in offline package management.
What the HTML5 container provides
The HTML5 container handles the full lifecycle of HTML5 pages inside your native app:
Loads and manages HTML5 pages using sessions.
Provides built-in JavaScript APIs for navigation operations such as page push, page pop, and title settings.
Supports custom JavaScript APIs and plug-ins to meet extended business requirements.
Simplifies offline package management by integrating with the Mobile Delivery Service (MDS) platform.
Uses UCWebView on Android to resolve system-level WebView crashes, improve memory management and network loading speed, and eliminate compatibility fragmentation across Android WebView versions.
Features
Stability
Tested across hundreds of millions of users, with low crash rates, Application Not Responding (ANR) rates, and other stability metrics.
On Android, the container uses a deeply customized UCWebView whose crash and ANR rates are significantly lower than those of the system WebView, resolving many known system WebView issues.
Offline package support
Unified offline package push platform: The MDS push platform delivers offline packages to clients quickly, keeping client-side packages in sync with the latest version.
Pre-built offline packages: For latency-sensitive scenarios, the container supports pre-installing packages on the client to improve loading speed.
Ecosystem integration
The container is integrated across all Ant Group apps, providing a stable and proven ecosystem.
