Skip to content

Commit 2eea7c5

Browse files
suilyywangyue
andauthored
fix: 修复init初始化功能 (#10)
Signed-off-by: wangyue <wangyue334@h-partners.com> Co-authored-by: wangyue <wangyue334@h-partners.com>
1 parent 2df54da commit 2eea7c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

harmony/jpush_react_native/src/main/ets/RNJPushTurboModule.ets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export class RNJPushTurboModule extends TurboModule implements TM.JPushModule.Sp
5656
if (params.appKey && params.channel) {
5757
JPushInterface.setAppKey(params.appKey);
5858
JPushInterface.setChannel(params.channel);
59+
JPushInterface.init(this.context);
5960
}
6061
};
6162

0 commit comments

Comments
 (0)