MCPcopy Index your code
hub / github.com/reactnativecn/react-native-update / getCurrentVersionInfo

Function getCurrentVersionInfo

src/core.ts:73–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72// @deprecated use currentVersionInfo instead
73export async function getCurrentVersionInfo(): Promise<{
74 name?: string;
75 description?: string;
76 metaInfo?: string;
77}> {
78 return currentVersion ? (await getLocalHashInfo(currentVersion)) || {} : {};
79}
80
81export const pushyNativeEventEmitter = new NativeEventEmitter(PushyModule);
82

Callers

nothing calls this directly

Calls 1

getLocalHashInfoFunction · 0.85

Tested by

no test coverage detected