1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 08:41:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-04-11 17:36:04 +08:00
parent ff50e03446
commit 7a8640d582
2 changed files with 2 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ export class Pushy {
}; };
static assertHash = (hash: string) => { static assertHash = (hash: string) => {
if (!Pushy.downloadedHash) { if (!Pushy.downloadedHash) {
log('no downloaded hash');
return; return;
} }
if (hash !== Pushy.downloadedHash) { if (hash !== Pushy.downloadedHash) {

View File

@@ -241,7 +241,7 @@ export const UpdateProvider = ({
client, client,
alertError, alertError,
throwErrorIfEnabled, throwErrorIfEnabled,
options.updateStrategy, options,
alertUpdate, alertUpdate,
downloadAndInstallApk, downloadAndInstallApk,
downloadUpdate, downloadUpdate,