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

add onpackageexpired

This commit is contained in:
sunnylqm
2025-04-11 14:48:18 +08:00
parent 05738ec204
commit a9c360620f
3 changed files with 10 additions and 2 deletions

View File

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