1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-11-01 13:53:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

feat: project init

This commit is contained in:
steven
2023-03-15 23:27:25 +08:00
parent 992b17d25a
commit 92675ed37c
43 changed files with 6448 additions and 546 deletions

View File

@@ -19,10 +19,13 @@ export interface Spec extends TurboModule {
uuid: string,
isUsingBundleUrl: boolean,
};
setLocalHashInfo(hash: string, info: string): void;
setLocalHashInfo(hash: string, info: string): Promise<void>;
getLocalHashInfo(hash: string): Promise<string>;
setUuid(uuid: string): void;
setBlockUpdate(options: { reason: string, until: number }): void;
setUuid(uuid: string): Promise<void>;
setBlockUpdate(options: { reason: string, until: number }): Promise<void>;
reloadUpdate(options: { hash: string }): Promise<void>;
setNeedUpdate(options: { hash: string }): Promise<void>;
markSuccess(): Promise<void>;
downloadPatchFromPpk(options: {
updateUrl: string,
hash: string,
@@ -36,9 +39,6 @@ export interface Spec extends TurboModule {
updateUrl: string,
hash: string,
}): Promise<void>;
reloadUpdate(options: { hash: string }): void;
setNeedUpdate(options: { hash: string }): void;
markSuccess(): void;
downloadAndInstallApk(options: {
url: string,
target: string,