1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-31 21:33:12 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

feat: add afterDownloadUpdate

This commit is contained in:
sunnylqm
2025-03-20 18:45:51 +08:00
parent 90f6b7bcb3
commit 0019e9dd95
3 changed files with 11 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ export interface ClientOptions {
throwError?: boolean;
beforeCheckUpdate?: () => Promise<boolean>;
beforeDownloadUpdate?: (info: CheckResult) => Promise<boolean>;
afterDownloadUpdate?: (info: CheckResult) => Promise<boolean>;
}
export interface UpdateTestPayload {