tencent cloud

Tencent Cloud Super App as a Service

Customizing the Base Library Update Strategy

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2025-07-04 17:33:28
AI翻訳
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);



ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック