mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 13:53:11 +08:00
feat: project init
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user