tencent cloud

SDK Introduction
Last updated:2026-02-10 19:54:17
SDK Introduction
Last updated: 2026-02-10 19:54:17

Product introduction

This product consists of three parts: a console, a client SDK, and a mini program development tool (IDE).

Console: The product console, which includes mini program management, client superapp management, and mini program operations management.
Client: A mobile client superapp integrated with the mini program SDK; the SDK provides the runtime environment for mini programs within the client superapp.
Developer tool (IDE): Mini program developers use the IDE for development, debugging, and version submission; they use the mini program preview assistant to preview and validate mini programs on the mobile client.

Mini program SDK working principle


The mini program SDK provides the runtime environment for mini programs within the client superapp. It communicates with the product backend to retrieve mini program information and loads and runs the mini program within the SDK’s runtime environment.
To reduce package size and minimize system permissions and feature controls, the SDK is divided into a core library (TCMPPSDK) and extension libraries (TCMPPExtXXX). Most functionalities can be achieved by integrating only the core library, which does not require additional system permission requests. Integrating just the core library adds about 4 MB to the final app installation package.
For details on the extension libraries, please refer to the Extension SDK documentation.

Explanation of the mini program SDK

To reduce the original package size of the mini program SDK and facilitate modular functionality, the mini program SDK is divided into two categories: the core SDK (TCMPPSDK) and the mini program extension SDKs.
Mini program core SDK: Provides the minimal environment needed to load and run mini programs. Users must integrate the core SDK to access the basic capabilities of mini programs.
Mini program extension component SDKs: Provide richer SDK features that users can integrate based on their specific needs.
Size impact of various mini program SDK modules on superapp, using SDK version v2.3.1 as an example:
Module
Description
Download size
Installed size
Superapp
Empty superapp project
47.8 KB
252 KB
Superapp+TCSAS
Core library
2.59 MB
7.78 MB
Superapp+TCSAS+TCSASBaseLib
Core library + preset base library
3.97 MB
13.6 MB
Superapp+TCSAS+TCMPPExtMiniGame
Core library + game extension library
3.18 MB
9.71 MB
Superapp+TCSAS+TCMPPExtScanCode
Core library + scan code extension library
2.78 MB
8.04 MB
Superapp+TCSAS+TCMPPExtMedia
Core library + media extension library
2.85 MB
8.8 MB
Superapp+TCSAS+TCMPPExtLBS
Core library + location extension library
2.65 MB
7.97 MB
Superapp+TCSAS+TCMPPExtBLE
Core library + Bluetooth extension library
2.62 MB
7.87 MB
Superapp+TCSAS+TCMPPExtContact
Core library + contacts extension library
2.59 MB
7.8 MB
Superapp+TCSAS+TCMPPExtClipBoard
Core library + clipboard extension library
2.59 MB
7.78 MB
Superapp+TCSAS+TCMPPExtCalendar
Core library + calendar extension library
2.59 MB
7.78 MB
Superapp+TCSAS+TCMPPExtAuthentication
Core library + authentication extension library
2.59 MB
7.78 MB
Superapp+TCSAS+TCMPPExtNetwork
Core library + network extension library
2.6 MB
7.82 MB
Superapp+TCSAS+TCMPPExtMDNS
Core library + MDNS extension library
2.59 MB
7.8 MB
Superapp+TCSAS+TCMPPExtMp3Encoder
Core library + MP3 extension library
2.73 MB
8.12 MB
Superapp+TCSAS+TCSASExtGoogleAds
Core library + Google Ads extension library
3.97 MB
11.5 MB
Superapp+TCSAS+TCMPPExtLive+TCSASExtVodPlayer+TCSASExtPlaylet+TXLiteAVSDK_Professional
Core library + live streaming extension library + premium mobile player extension library + short video extension library
13.5 MB
34.5 MB
Superapp+TCSAS+TCMPPExtLive+TXLiteAVSDK_Live
Core library + live streaming extension library
8.33 MB
21.4 MB
Superapp+TCSAS+TCSASExtVodPlayer+TXLiteAVSDK_Player_Premium
Core library + premium mobile player extension library
9.09 MB
23.8 MB
Superapp+TCSAS+TCSASExtPlaylet+TXLiteAVSDK_Player_Premium
Core library + short drama extension library
9.53 MB
25.3 MB
Superapp+TCSAS+TCSASExtVodPlayer+TCSASExtPlaylet+TXLiteAVSDK_Player_Premium
Core library + premium mobile player extension library + short drama extension library
9.53 MB
25.3 MB
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback