@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
10 lines • 546 B
TypeScript
import type { StatusReport } from './types';
/**
* @function
*
* Notifies the CodePush runtime that an installed update is considered successful.
*
* If you are manually checking for and installing updates (i.e. not using the `sync` method to handle it all for you), then this method **MUST** be called; otherwise CodePush will treat the update as failed and rollback to the previous version when the app next restarts.
*/
export declare const notifyAppReady: () => Promise<void | StatusReport>;
//# sourceMappingURL=notifyAppReady.d.ts.map