1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-18 19:50:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

resolve harmony hot update fail issue (#483)

* fix harmony more than 2M issue

* fix mtpush-react-native conflics

* update harmony remote dependency flow

* udpate

* udpate

* udpate

* udpate

* udpate

* update

* uddate

* udpapte

* adapter pushy for Expo

* udpate

* resolve harmony hot update fail issue

* udpate

* udpate

* udpate

* udpate

* udpate

* update

* udpate
This commit is contained in:
波仔糕
2025-03-09 10:08:30 +08:00
committed by GitHub
parent 93f2d51c46
commit 3876110a66
9 changed files with 91 additions and 69 deletions

View File

@@ -7,6 +7,7 @@ import { BusinessError } from '@ohos.base';
import logger from './Logger';
import { UpdateModuleImpl } from './UpdateModuleImpl';
import { UpdateContext } from './UpdateContext';
import { EventHub } from './EventHub';
const TAG = "PushyTurboModule"
@@ -18,9 +19,8 @@ export class PushyTurboModule extends TurboModule {
super(ctx);
logger.debug(TAG, ",PushyTurboModule constructor");
this.mUiCtx = ctx.uiAbilityContext
let rnInstance = ctx.rnInstance
this.context = new UpdateContext(this.mUiCtx)
// rnInstance.emitDeviceEvent("Pushy",{code: err.code, message: err.message});
EventHub.getInstance().setRNInstance(ctx.rnInstance)
}