From dc06843d5c8d04d719058be7a6f0ff4f031ad287 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Tue, 30 Jun 2026 20:44:05 +0800 Subject: [PATCH] debug(harmony): log constants returned by getConstants on native side --- harmony/pushy/src/main/ets/PushyTurboModule.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/harmony/pushy/src/main/ets/PushyTurboModule.ts b/harmony/pushy/src/main/ets/PushyTurboModule.ts index d4a6049f..fde5e9c4 100644 --- a/harmony/pushy/src/main/ets/PushyTurboModule.ts +++ b/harmony/pushy/src/main/ets/PushyTurboModule.ts @@ -95,7 +95,7 @@ export class PushyTurboModule extends UITurboModule { this.context.clearRollbackMark(); } - return { + const result = { downloadRootDir: `${this.mUiCtx.filesDir}/_update`, currentVersionInfo, packageVersion, @@ -106,6 +106,8 @@ export class PushyTurboModule extends UITurboModule { rolledBackVersion, uuid, }; + logger.info(TAG, `,getConstants result: ${JSON.stringify(result)}`); + return result; } setLocalHashInfo(hash: string, info: string): boolean {