1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 12:11:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-07-18 10:22:52 +08:00
parent 7cce998277
commit de69746937
2 changed files with 2 additions and 2 deletions

View File

@@ -399,7 +399,7 @@ export class Pushy {
target: 'update.apk',
hash: progressKey,
}).catch(() => {
this.report({ type: 'errowDownloadAndInstallApk' });
this.report({ type: 'errorDownloadAndInstallApk' });
});
if (this.progressHandlers[progressKey]) {
this.progressHandlers[progressKey].remove();

View File

@@ -33,7 +33,7 @@ export type EventType =
| 'downloadingApk'
| 'rejectStoragePermission'
| 'errorStoragePermission'
| 'errowDownloadAndInstallApk';
| 'errorDownloadAndInstallApk';
export interface EventData {
currentVersion: string;