MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / setNeedUpdate

Method setNeedUpdate

src/NativePushy.ts:20–20  ·  view source on GitHub ↗
(options: { hash: string })

Source from the content-addressed store, hash-verified

18 reloadUpdate(options: { hash: string }): Promise<void>;
19 restartApp(): Promise<void>;
20 setNeedUpdate(options: { hash: string }): Promise<void>;
21 markSuccess(): Promise<void>;
22 downloadPatchFromPpk(options: {
23 updateUrl: string;

Callers 1

PushyClass · 0.65

Implementers 3

UpdateModuleandroid/src/newarch/cn/reactnative/mod
UpdateModuleandroid/src/oldarch/cn/reactnative/mod
PushyTurboModuleharmony/pushy/src/main/ets/PushyTurboM

Calls

no outgoing calls

Tested by

no test coverage detected