Mobile Development 12 min read

WeChat Mini-Program Hardware Framework (WMPF): Enabling Mini-Programs on IoT Devices

The article explains how WeChat's new Mini-Program Hardware Framework (WMPF) lets mini‑programs run on Android tablets, large‑screen and other IoT devices, detailing its architecture, supported hardware, security mechanisms, compatibility approach, and future AI, AR and 5G enhancements.

Sohu Tech Products
Sohu Tech Products
Sohu Tech Products
WeChat Mini-Program Hardware Framework (WMPF): Enabling Mini-Programs on IoT Devices

In 2017, Zhang Xiaolong described the original vision of WeChat Mini‑Programs as ubiquitous, instantly accessible applications that require no download or installation, embodying a "use‑and‑go" philosophy.

Three years later, Mini‑Programs have achieved massive daily active users and transaction volume, yet they remain confined to the WeChat client.

To extend Mini‑Programs beyond the client, WeChat introduced the WeChat Mini‑Program Framework (WMPF), a hardware framework that allows Mini‑Programs to run on Android‑based tablets, large‑screen devices, and other IoT hardware without the WeChat app.

Developers only need to integrate the WMPF SDK and APK; the framework operates as a "shell" app that houses the Mini‑Program SDK, with a size of about 60‑70 MB, and supports silent updates via the shell.

WMPF currently supports Android devices across four categories: smart retail (cash registers, vending machines, interactive screens), home/entertainment (smart fridges, tablets, treadmills), public services (hospital kiosks, library terminals), and office equipment (education tablets, meeting terminals).

The framework was designed from the start to allow Mini‑Programs to run in diverse environments by packaging the Mini‑Program SDK with developers' code into native apps.

Security challenges arise when Mini‑Programs operate outside the trusted WeChat client. To address identity verification, WMPF uses QR‑code scanning to transfer user credentials from a phone to the device. For broader security, the framework avoids exposing the SDK directly; instead, it encapsulates it within the shell, preventing third‑party monitoring and data leakage.

Device legitimacy is ensured through online verification: each device must authenticate in real time, and a unique device ID can only be active on one device at a time, mitigating unauthorized device cloning.

Entry to Mini‑Programs on hardware does not rely on a unified app store; developers can define custom entry points, such as map icons on a shopping‑mall kiosk, which launch the corresponding Mini‑Program via WMPF.

Compatibility is largely seamless: if the hardware’s screen size and interaction model resemble a phone, existing Mini‑Program code runs unchanged; otherwise, developers may adjust UI layouts, especially if responsive design was already used.

Future directions include integrating AI voice assistants and micro‑robotics, adding AR capabilities (e.g., virtual try‑on for smart mirrors), expanding to additional operating systems beyond Android, and leveraging 5G for faster response and updates.

Overall, WMPF aims to bring the extensive Mini‑Program developer ecosystem to smart screens and other IoT devices, preserving the original "use‑and‑go" experience while addressing identity, security, and compatibility challenges.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Mobile DevelopmentIoTMini ProgramWeChatHardware Framework
Sohu Tech Products
Written by

Sohu Tech Products

A knowledge-sharing platform for Sohu's technology products. As a leading Chinese internet brand with media, video, search, and gaming services and over 700 million users, Sohu continuously drives tech innovation and practice. We’ll share practical insights and tech news here.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.