tencent cloud

Feedback

SDK Introduction

Last updated: 2024-11-21 17:24:17

    Introduction to TCMPP

    TCMPP consists of three parts: management console, client SDK and mini program development tool (TCMPP IDE). 
    
    Management console: This is the TCMPP console for managing mini programs, applications, and mini program operations.
    Client: This refers to the mobile client application integrated with the TCMPP mini program SDK. The SDK provides a runtime environment for mini programs within the client application.
    Developer tools: Developers use the mini program IDE for developing, debugging, and submitting versions of mini programs. The mini program preview assistant is used for previewing and validating mini programs on mobile clients.

    How the TCMPP mini program SDK Works

    
    The mini program SDK provides a runtime environment for mini programs within client apps. It communicates with the TCMPP backend to fetch mini program information and loads and runs the mini programs in the provided runtime environment.

    Mini program SDK description

    To keep the SDK lightweight and modular, it is divided into two categories: core SDK (mini_core) and extension SDKs.
    Core SDK: Provides the minimal environment required to load and run mini programs. Users must integrate the core SDK to utilize basic mini program capabilities.
    Extension SDKs: Provide additional features that users can integrate based on their needs.
    Mini program SDKs:
    SDK name
    Description
    Usage notes
    Package size
    Core SDK (mini_core)
    Provides the minimal runtime environment for loading mini programs.
    -
    ~4.7MB
    Same-layer rendering extension SDK - Public version (mini_extra_public_x5)
    Enables same-layer rendering for mini program components.
    Requires public version kernel. For details, see SDK extension components.
    ~55 KB (excluding x5 kernel)
    Same-layer rendering extension SDK - Dynamic version (mini_extra_dynamic_x5)
    Enables same-layer rendering for mini program components.
    Requires dynamic version kernel. For details, see SDK extension components.
    ~56.7 KB (excluding x5 kernel)
    Same-layer rendering extension SDK - Static version (mini_extra_static_x5_new)
    Enables same-layer rendering for mini program components.
    Requires static version kernel. For details, see SDK extension components.
    ~54.4 KB (excluding x5 kernel)
    QR code extension SDK (mini_extra_qrcode)
    Provides QR code scanning capabilities.
    For details, see SDK extension components
    ~ 35 KB
    Map extension SDK - Tencent Maps version (mini_extra_map)
    Supports Tencent Maps for location and map services.
    Requires Tencent Maps SDK and dependencies. For details, see SDK extension components
    About 156.4 KB, the volume does not include Tencent Map SDK
    Map extension SDK - Huawei Maps version (mini_extra_huawei_map)
    Supports Huawei Maps for location and map services.
    Requires Huawei Maps SDK and dependencies. For details, see SDK extension components
    ~236.8KB (excluding Huawei Maps SDK)
    Map extension SDK - Google Maps Version (mini_extra_google_map)
    Supports Google Maps for location and map services.
    Requires Google Maps SDK and dependencies. For details, see SDK extension components
    ~153.2KB (excluding Google Maps SDK)
    Live streaming extension SDK (mini_extra_trtc_live)
    Provides live streaming capabilities for mini programs.
    Requires Tencent TRTC dependencies. For details, see SDK extension components
    ~91.4KB (excluding Tencent TRTC SDK)
    LBS extension SDK (mini_extra_lbs)
    Provides location-based services for mini programs.
    For details, see SDK extension components
    ~ 73.8 KB
    Bluetooth extension SDK (mini_extra_bluetooth)
    Provides Bluetooth API access for mini programs.
    For details, see SDK extension components
    ~ 115 KB
    NFC extension SDK (mini_extra_nfc)
    Provides NFC API access for mini programs.
    For details, see SDK extension components
    ~ 65 KB
    Biometric authentication extension SDK (mini_extra_soter)
    Provides biometric authentication API access for mini programs.
    For details, see SDK extension components
    ~ 71 KB
    Clipboard extension SDK (mini_extra_clipboard)
    Provides clipboard access for mini programs.
    For details, see SDK extension components
    ~7KB
    Contacts extension SDK (mini_extra_contact)
    Provides contacts API access for mini programs.
    For details, see SDK extension components
    ~ 49 KB
    Document engine extension SDK (mini_extra_doc)
    Provides document preview capabilities for mini programs.
    Requires Tencent Document SDK. For details, see SDK extension components
    ~40KB
    Media extension SDK (mini_extra_media_support)
    Provides media selection API access for mini programs.
    For details, see SDK extension components
    ~ 568.1 KB
     
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support