tencent cloud

Tencent Cloud Super App as a Service

Customizing the Base Library Update Strategy

Download
Focus Mode
Font Size
Last updated: 2025-07-04 17:33:28
You can override the isUpdateBaseLib method in BaseMiniAppProxyImpl class to control whether to update the base library.
API description:
Parameter context: The context.
Parameter data: Update information of the mini program base library.
Return value: True (default) indicates to update the base library, false indicates not to update.
/**
* Whether to update the base library when an update is detected
* @param context
* @param data - Base library information data
* @return true: update; false: do not update, default is true
*/
public abstract boolean isUpdateBaseLib(Context context, JSONObject data);



Help and Support

Was this page helpful?

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

Feedback