tencent cloud

Tencent Cloud Super App as a Service

Superapp Information

Download
Focus Mode
Font Size
Last updated: 2026-04-17 16:28:06
MiniAppProxy provides a set of proxy interfaces for obtaining the superapp information used in the SDK. Details are as follows:

Superapp name

Used for the AppPlatform field returned in wx.getSystemInfo.
/**
* By default, the SDK obtains the superapp name via PackageManager. If customization is required, the returned value can be customized using this method.
*
* @return superapp name
*/
public String getAppName();

Superapp version

Used for the version field returned in wx.getSystemInfo.
/**
* By default, the SDK obtains the version number of the superapp via PackageManager. If customization is required, the returned value can be customized using this method.
*
* @return version number
*/
public String getAppVersion();

Superapp theme

Used to specify the theme of the superapp. MiniPrograms can obtain the superapp theme through the theme field in wx.getSystemInfo or wx.getAppBaseInfo to adapt to dark mode.
/**
* Whether to enter dark mode
*
* @return `true` indicates dark mode, `false` indicates light mode; the default setting follows the system settings.
*/
public boolean isDarkMode();


Superapp backend domain ID

When the superapp is configured with multiple backend service domains, this interface can be used to specify which domain to use.
/**
* Get the superapp backend service domain ID for domain switching.
*
* @return superapp backend domain ID.
*/
public String getBackendDomainId();
The backend service domain ID is obtained from configuration management, as shown in the following figure:



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback