Skip to content

Commit 763df2a

Browse files
committed
debug(harmony): log constants returned by getConstants on native side
1 parent efe638e commit 763df2a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

harmony/pushy/src/main/ets/PushyTurboModule.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class PushyTurboModule extends UITurboModule {
9595
this.context.clearRollbackMark();
9696
}
9797

98-
return {
98+
const result = {
9999
downloadRootDir: `${this.mUiCtx.filesDir}/_update`,
100100
currentVersionInfo,
101101
packageVersion,
@@ -106,6 +106,8 @@ export class PushyTurboModule extends UITurboModule {
106106
rolledBackVersion,
107107
uuid,
108108
};
109+
logger.debug(TAG, `,getConstants result: ${JSON.stringify(result)}`);
110+
return result;
109111
}
110112

111113
setLocalHashInfo(hash: string, info: string): boolean {

0 commit comments

Comments
 (0)