@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
9 lines • 458 B
TypeScript
import { UpdateState } from './enums/UpdateState.enum';
import type { LocalPackage } from './types';
/**
* Retrieves the metadata for an installed update (e.g. description, mandatory).
*
* @param updateState The state of the update you want to retrieve the metadata for. Defaults to UpdateState.RUNNING.
*/
export declare function getUpdateMetadata(updateState?: UpdateState): Promise<LocalPackage | null>;
//# sourceMappingURL=getUpdateMetadata.d.ts.map